Update install.sh

This commit is contained in:
Erreur32 2017-07-31 16:38:24 +02:00
parent 501777d40b
commit d35063b902
1 changed files with 3 additions and 5 deletions

View File

@ -125,8 +125,6 @@ tput cup 11 0
grepmot=`grep '/etc/motd' /root/.bashrc`
echo -e " \e[1;30m Code bash found: \e[0m>>\e[0m $grepmot \e[0m<<\n"
echo -e " -->\e[34m Code bash: \e[92mOK\e[0m"
#sed -i '/cat \/etc\/motd/d' /root/.bashrc
#echo -e "\e[92m Code .bashrc remove.\e[0m"
fi
# Check if MOTDs32 is already add
@ -135,6 +133,7 @@ tput cup 11 0
if [ -f "/etc/motds32/Stats32" ]
then
echo -e " -->\e[34m Stats32 \e[92mFOUND\e[0m"
cp Stats32 /etc/motds32/Stats32 -Rf
else
cp Stats32 /etc/motds32/Stats32 -Rf
echo -e " -->\e[34m Stats32 \e[92mINSTALLED\e[0m"
@ -180,8 +179,6 @@ if test -f /usr/bin/motds32; then /usr/bin/motds32 -g; echo "Genrate first Stat"
grepmot=`grep '/etc/motd' /root/.bashrc`
echo -e " \e[1;30m Code bash found: \e[0m>>\e[0m $grepmot \e[0m<<\n"
echo -e " -->\e[34m Code bash: \e[92mOK\e[0m"
#sed -i '/cat \/etc\/motd/d' /root/.bashrc
#echo -e "\e[92m Code .bashrc remove.\e[0m"
fi
# Check if MOTDs32 is already add
@ -190,6 +187,7 @@ if test -f /usr/bin/motds32; then /usr/bin/motds32 -g; echo "Genrate first Stat"
if [ -f "/etc/motds32/Stats32" ]
then
echo -e " -->\e[34m Stats32 \e[92mFOUND\e[0m"
cp Stats32 /etc/motds32/Stats32 -Rf
else
cp Stats32 /etc/motds32/Stats32 -Rf
echo -e " -->\e[34m Stats32 \e[92mINSTALLED\e[0m"