From 992987fb3c73c65054896b5707f8c7183292a80b Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Mon, 9 Jan 2023 20:29:07 +0500 Subject: [PATCH] question the scripts --- restorefiles.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/restorefiles.sh b/restorefiles.sh index 3aa5c20..00c2ee3 100755 --- a/restorefiles.sh +++ b/restorefiles.sh @@ -42,8 +42,12 @@ fi ################################################################### +read -p "Would you like to restore scripts [Y/n]: " SCRIPTS +if [ "$SCRIPTS" = "Y" ] || [ "$SCRIPTS" = "y" ] || [ "$SCRIPTS" = "" ] +then mkdir $HOME/.scripts $HOME/.shortcuts -p ln -s ./scripts/* $HOME/.scripts/ +fi ################################################################### ###################################################################