Update Install.sh

This commit is contained in:
Erreur32 2017-07-20 19:49:34 +02:00
parent fa53b1095a
commit ff6906793a

View file

@ -84,7 +84,7 @@ if [ -f /usr/bin/motd ]
fi fi
echo "\Copy files OK\n" echo -e "\n -->\e[34m Copy files OK\n"
echo -e "\nDo you wish to install the required package?\n --> apt-get install ntp figlet ? (y/n) " echo -e "\nDo you wish to install the required package?\n --> apt-get install ntp figlet ? (y/n) "
old_stty_cfg=$(stty -g) old_stty_cfg=$(stty -g)
stty raw -echo stty raw -echo
@ -113,9 +113,9 @@ fi
set -f set -f
if crontab -l | grep -q '^/usr/bin/motds32$' && echo 'entry exists'; then if crontab -l | grep -q '^/usr/bin/motds32$' && echo 'entry exists'; then
echo 'Crontab entry already exist' echo '\nCrontab entry already exist'
else else
echo 'Crontab entry does not exist ...' echo '\nCrontab entry does not exist ...'
crontab << FIN crontab << FIN
$(crontab -l) $(crontab -l)