Update install.sh
This commit is contained in:
parent
97bb3bc4d1
commit
263430485f
1 changed files with 2 additions and 2 deletions
|
@ -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 )
|
||||||
|
|
Loading…
Reference in a new issue