first commit

This commit is contained in:
Erreur32 2020-04-16 14:49:57 +02:00
parent faaaa9b7f9
commit b6a8f31770

View file

@ -193,15 +193,15 @@ if test -f /usr/bin/motds32; then /usr/bin/motds32 -g; fi
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 -e "\n\e[92m" ;
2) echo -n " Git " ; git pull ; echo -e "\n\e[92m" ;
if [ `grep -c /etc/motd ~/.bashrc` == 0 ]
then
echo -e " code bash missing"
echo -e "\e[31m code bash missing\e[0m"
echo "cat /etc/motd" >> ~/.bashrc
echo -e "\e[92m - Code bash \e[0madded.\n"
else
grepmot=$(grep "etc/motd" ~/.bashrc)
echo -e " \e[1;30m Code bash found: \e[0m>>\e[0m $grepmot \e[0m<<\n"
echo -e " \e[32;1m Code bash found: \e[0m>>\e[0m $grepmot \e[0m<<\n"
echo -e " -->\e[34m Code bash: \e[92mOK\e[0m"
fi