first commit

This commit is contained in:
Erreur32 2020-04-19 17:05:01 +02:00
parent b23460206a
commit fb72f5d64e
1 changed files with 4 additions and 3 deletions

View File

@ -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 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 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"