Update install.sh

This commit is contained in:
Erreur32 2017-07-20 22:34:19 +02:00
parent 263430485f
commit 887e0362f3

View file

@ -91,9 +91,8 @@ 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 )
stty $old_stty_cfg stty $old_stty_cfg
if echo "$answer" | grep -iq "^y" ;then if echo "$answer" | grep -iq "^y" ;then
echo -e "\n\e[34m1.\e[92m apt-get install \e[0m ntp figlet \e[94m start\e[0m" ; apt-get install -y ntp figlet; echo -e "\n\e[34m1.\e[92m apt-get install \e[0m ntp figlet \e[94m start\e[0m\n" ; apt-get install -y ntp figlet;
echo -e "\n\e[92mapt-get installation\e[0m Succesfull" echo -e "\n\e[92mapt-get installation\e[0m Succesfull"
echo -e "\n \n"
if [ -f /usr/bin/motds32 ] if [ -f /usr/bin/motds32 ]
then then
echo -e "\nMake file done.\n" echo -e "\nMake file done.\n"
@ -137,8 +136,8 @@ fi
## Generate first stats ## Generate first stats
/usr/bin/motds32 -g /usr/bin/motds32 -g
echo -e "\n\e[34m3. \e[92mMOTDs32 Installation completed!\e[0m \n\n Use: /usr/bin/motds32 for help\n" echo -e "\n\e[34m3. \e[92m echo -e "\n completed!\e[0m \n\n Use: /usr/bin/motds32 for help\n"
exit 0 exit 0
#EOF #EOF