Update Install.sh
This commit is contained in:
parent
d8f0227095
commit
c88f4cf057
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue