From fe2cb367012836d7a54f81f21f1e70f6fc35f6ba Mon Sep 17 00:00:00 2001 From: Erreur32 Date: Thu, 20 Jul 2017 18:28:51 +0200 Subject: [PATCH] Update Install.sh --- Install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Install.sh b/Install.sh index 7c65efc..4837fa5 100755 --- a/Install.sh +++ b/Install.sh @@ -83,7 +83,7 @@ if [ -f /usr/bin/motd ] fi -echo -e "Do you wish to install the missing package before \n --> apt-get install ntp figlet ? (y/n)? " +echo -e "\nDo you wish to install the required package?\n --> apt-get install ntp figlet ? (y/n) " old_stty_cfg=$(stty -g) stty raw -echo answer=$( while ! head -c 1 | grep -i '[ny]' ;do true ;done ) @@ -93,14 +93,13 @@ if echo "$answer" | grep -iq "^y" ;then echo -e "\n\e[92m apt-get installation \e[0m Succesfull \n" else echo -e "\n Continue the script (y/n)? " -old_stty_cfg=$(stty -g) -stty raw -echo answer2=$( while ! head -c 1 | grep -i '[ny]' ;do true ;done ) if echo "$answer2" | grep -iq "^y" ;then echo -e "\n1.\e[92m ok no apt-get required \e[0m Installation continue... \n"; make install else exit 1 fi + echo -e "\n1.\e[92m ok no apt-get required \e[0m Installation continue... \n"; make install fi