Update install.sh

This commit is contained in:
Erreur32 2017-07-25 21:36:50 +02:00
parent 69e54d66e9
commit 0232181b5f

View file

@ -120,10 +120,10 @@ answer=$( while ! head -c 1 | grep -i '[ny]' ;do true ;done )
stty $old_stty_cfg
if echo "$answer" | grep -iq "^y" ;then
echo -e "\n\e[34m - apt-get install >\e[0m ntp figlet build-essential \e[0m>>\e[92m starting\e[0m\n" ; apt-get install -y build-essential ntp figlet;
echo -e "\n\e[34m - apt-get installation\e[0m>> Succesfull\n"
echo -e "\n\e[34m - apt-get installation \e[0m>> Succesfull\n"
if [ -f "/usr/bin/motds32" ]
then
echo -e "\n\e[34m - Make file already done.\e[0m\n"
echo -e "\n\e[34m - Make file \e[0m>> already done.\e[0m\n"
else
echo -e "\n\e[92m -Building binary \e[0m\n"
make install
@ -139,7 +139,7 @@ stty $old2_stty_cfg
echo -e "\n\e[34m - NO apt-get required\e[0m Installation continue... \n";
if [ -f "/usr/bin/motds32" ]
then
echo -e "\n\e[34m - Make file \e[0m>> already done.\e[0m\n"
echo -e "\n\e[34m - Make file \e[0m>> Succesfull\n"
else
echo -e "\n\e[94m -Building binary \e[0m\n"
make install