From 2dbc74639c068d40df277d0ce950612f953e8b68 Mon Sep 17 00:00:00 2001 From: Erreur32 Date: Sun, 19 Apr 2020 18:21:08 +0200 Subject: [PATCH] first commit --- install.sh | 9 +++++++++ 1 file changed, 9 insertions(+) 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