first commit
This commit is contained in:
parent
3a841391ba
commit
2dbc74639c
1 changed files with 9 additions and 0 deletions
|
@ -272,11 +272,20 @@ tput cup 11 0
|
||||||
then
|
then
|
||||||
echo -e "\n\e[34m - Make file \e[0m>> update.\e[0m\n"
|
echo -e "\n\e[34m - Make file \e[0m>> update.\e[0m\n"
|
||||||
make install > /dev/null
|
make install > /dev/null
|
||||||
|
motd -g
|
||||||
echo -e "\n\e[32;1m - Update binary done.\e[0m\n"
|
echo -e "\n\e[32;1m - Update binary done.\e[0m\n"
|
||||||
echo -e "\n\e[1;33m (Press any key.)\e[0m"
|
echo -e "\n\e[1;33m (Press any key.)\e[0m"
|
||||||
else
|
else
|
||||||
echo -e "\e[32;4m - Make install first !\e[0m\n"
|
echo -e "\e[32;4m - Make install first !\e[0m\n"
|
||||||
echo -e "\n\e[1;33m (Press any key.)\e[0m"
|
echo -e "\n\e[1;33m (Press any key.)\e[0m"
|
||||||
|
fi
|
||||||
|
if [ -f "/etc/motds32/Stats32" ]
|
||||||
|
then
|
||||||
|
echo -e " -->\e[34m Stats32 \e[92mOK\e[0m"
|
||||||
|
cp -f Stats32 /etc/motds32/Stats32
|
||||||
|
else
|
||||||
|
cp -f Stats32 /etc/motds32/Stats32
|
||||||
|
echo -e " -->\e[34m Stats32 \e[92mINSTALLED\e[0m"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
4) echo -e "\n\e[34m Unistall of MOTDs32 in progress... \e[0m"
|
4) echo -e "\n\e[34m Unistall of MOTDs32 in progress... \e[0m"
|
||||||
|
|
Loading…
Reference in a new issue