Update install.sh

This commit is contained in:
Erreur32 2017-07-31 18:57:37 +02:00
parent e5903851f8
commit 1cb94915b7
1 changed files with 14 additions and 3 deletions

View File

@ -107,8 +107,8 @@ tput cup 11 0
if [ -f "/usr/bin/motds32" ]
then
echo -e "\n\e[34m - Make file \e[0m>> founded.\e[0m\n"
make install
echo -e "\n\e[34m - REMake file done.\e[0m\n"
#make install
#echo -e "\n\e[34m - REMake file done.\e[0m\n"
else
echo -e "\n\e[92m -Building binary \e[0m\n"
make install
@ -183,7 +183,18 @@ if test -f /usr/bin/motds32; then /usr/bin/motds32 -g; echo -e "\n Genrate firs
# Check if MOTDs32 is already add
if test ! -d /etc/motds32; then mkdir -p /etc/motds32; fi
if [ -f "/usr/bin/motds32" ]
then
echo -e "\n\e[34m - Make file \e[0m>> founded.\e[0m\n"
#make install
#echo -e "\n\e[34m - REMake file done.\e[0m\n"
else
echo -e "\n\e[92m -Building binary \e[0m\n"
make install
echo -e "\n\e[34m - Make file done.\e[0m\n"
fi
if [ -f "/etc/motds32/Stats32" ]
then
echo -e " -->\e[34m Stats32 \e[92mFOUND\e[0m"