Update unisntall.sh

This commit is contained in:
Erreur32 2017-07-21 01:37:20 +02:00
parent a7a06e6642
commit 2a9311db03

View file

@ -52,8 +52,8 @@ fi
if [ `grep -c /etc/motd /root/.bashrc` == 0 ] if [ `grep -c /etc/motd /root/.bashrc` == 0 ]
then then
echo "Code bash not founded" echo "Code bash not founded"
echo "cat /etc/motd" >> /root/.bashrc #echo "cat /etc/motd" >> /root/.bashrc
echo -e "\e[92m Code .bashrc added.\e[0m" #echo -e "\e[92m Code .bashrc added.\e[0m"
else else
echo "code bash founded" echo "code bash founded"
sed -i '/cat \/etc\/motd/d' /root/.bashrc sed -i '/cat \/etc\/motd/d' /root/.bashrc