From fb72f5d64e3ef01065bb66db6e352e52e4acf5d2 Mon Sep 17 00:00:00 2001 From: Erreur32 Date: Sun, 19 Apr 2020 17:05:01 +0200 Subject: [PATCH] first commit --- install.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 8e30343..92d7cd6 100755 --- a/install.sh +++ b/install.sh @@ -196,7 +196,7 @@ tput cup 11 0 printf "\n \e[1;33m (Press 0 to exit)\e[0m" printf "\n \e[1;33m (Or any key to go back.)\e[0m" ;; - 2) echo -n " Git " ; git pull ; echo -e "\n\e[92m" ; + 2) echo -n " Git " ; cd ~/MOTDs32 && git pull ; echo -e "\n\e[92m" ; grepmot="cat /etc/motd" # if [ `grep -c "cat /etc/motd" ~/.bashrc` == 0 ] if [ $(grep -c "cat /etc/motd" ~/.bashrc) == 0 ] @@ -263,10 +263,11 @@ tput cup 11 0 ## Generate first stats # if test -f /usr/bin/motds32; then /usr/bin/motds32 -g; fi - echo -e "\n\n\e[34m \e[92m Installation of MOTDs32 completed!\e[0m \n\n\n Help? Use: \n \033[1;30m /usr/bin/motds32\e[0m \n or \033[1;30m\n motd\e[0m\n" + echo -e "\n\n\n Help? Use: \n \033[1;30m /usr/bin/motds32\e[0m \n or \033[1;30m\n motd\e[0m\n" + echo -e "\n\n\e[34m \e[92m Installation of MOTDs32 completed!\e[0m" printf "\n \e[1;33m (Press any key to exit.)\e[0m" ;; - 3) echo -n " Git " ; git pull ; echo -e "\n\e[92m" ; + 3) echo -n " Git " ; cd ~/MOTDs32 && git pull ; echo -e "\n\e[92m" ; if [ -f "/usr/bin/motds32" ] then echo -e "\n\e[34m - Make file \e[0m>> update.\e[0m\n"