diff --git a/install.sh b/install.sh index 92d7cd6..fe24429 100755 --- a/install.sh +++ b/install.sh @@ -272,12 +272,21 @@ tput cup 11 0 then echo -e "\n\e[34m - Make file \e[0m>> update.\e[0m\n" make install > /dev/null + motd -g echo -e "\n\e[32;1m - Update binary done.\e[0m\n" echo -e "\n\e[1;33m (Press any key.)\e[0m" else echo -e "\e[32;4m - Make install first !\e[0m\n" 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 ;; 4) echo -e "\n\e[34m Unistall of MOTDs32 in progress... \e[0m" ## remove file and directory