Update install.sh

This commit is contained in:
Erreur32 2017-07-20 22:32:57 +02:00
parent 97bb3bc4d1
commit 263430485f

View file

@ -84,8 +84,8 @@ if [ -f /usr/bin/motd ]
fi fi
echo -e " -->\e[34m Copy files OK\n" echo -e " -->\e[34m Copy files OK\n"
echo -e "\nDo you wish to install the required package?\n \e[0m --> apt-get install ntp figlet ? (y/n) " echo -e "\nDo you wish to install the required package?\n \e[0m --> apt-get install ntp figlet ? (y/n) "
old_stty_cfg=$(stty -g) old_stty_cfg=$(stty -g)
stty raw -echo stty raw -echo
answer=$( while ! head -c 1 | grep -i '[ny]' ;do true ;done ) answer=$( while ! head -c 1 | grep -i '[ny]' ;do true ;done )