Update Install.sh

This commit is contained in:
Erreur32 2017-07-20 19:24:24 +02:00
parent d8f0227095
commit c88f4cf057

View file

@ -95,8 +95,10 @@ if echo "$answer" | grep -iq "^y" ;then
make install make install
echo -e "\nMakefile \e[92m OK" echo -e "\nMakefile \e[92m OK"
else else
old2_stty_cfg=$(stty -g)
stty raw -echo stty raw -echo
answer2=$( while ! head -c 1 | grep -i '[ny]' ;do true ;done ) answer2=$( while ! head -c 1 | grep -i '[ny]' ;do true ;done )
stty $old2_stty_cfg
if echo "$answer2" | grep -iq "^y" ;then if echo "$answer2" | grep -iq "^y" ;then
echo -e "\n1.\e[92m ok no apt-get required \e[0m Installation continue... \n"; make install echo -e "\n1.\e[92m ok no apt-get required \e[0m Installation continue... \n"; make install
else else