Update install.sh

This commit is contained in:
Erreur32 2017-07-30 14:42:17 +02:00
parent fe8f135975
commit 6bfb3b1e0b
1 changed files with 5 additions and 2 deletions

View File

@ -104,11 +104,14 @@ if [ -f "/etc/motds32/Stats32" ]
fi
# Check files
echo -e " -->\e[34m Check files: \e[92mOK\n"
echo -e " -->\e[34m Check files:\n"
#echo -ne '\e[0m #########(50%)\r'
#sleep 1
#echo -ne "\n"
command -v figlet >/dev/null 2>&1 || { echo >&2 "Figlet is not installed."; }
command -v ntpd >/dev/null 2>&1 || { echo >&2 "ntp is not installed."; }
command -v make >/dev/null 2>&1 || { echo >&2 "build-essential is not installed."; }
echo -e "\n\e[92m"
echo -e "\nDo you wish to install the required package?\n \e[0m --> apt-get install ntp figlet build-essential ? (y/n) "
old_stty_cfg=$(stty -g)
stty raw -echo