From c88f4cf05735884e8ef8c882662de49c222d7200 Mon Sep 17 00:00:00 2001 From: Erreur32 Date: Thu, 20 Jul 2017 19:24:24 +0200 Subject: [PATCH] Update Install.sh --- Install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Install.sh b/Install.sh index accd445..302f909 100755 --- a/Install.sh +++ b/Install.sh @@ -95,9 +95,11 @@ if echo "$answer" | grep -iq "^y" ;then make install echo -e "\nMakefile \e[92m OK" else +old2_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 +stty $old2_stty_cfg + 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