Update install.sh

This commit is contained in:
Erreur32 2017-07-21 01:35:23 +02:00
parent cb29fd4a1b
commit a7a06e6642
1 changed files with 3 additions and 2 deletions

View File

@ -70,11 +70,12 @@ echo -e "\n\n"
if [ `grep -c /etc/motd /root/.bashrc` == 0 ]
then
echo "code bash missing\n"
echo -e "code bash missing\n"
echo "cat /etc/motd" >> /root/.bashrc
echo -e "\e[92m Code bash added.\e[0m"
else
echo "Code bash found" ; grep '/etc/motd' /root/.bashrc
echo -e "Code bash found"
grep '/etc/motd' /root/.bashrc
#sed -i '/cat \/etc\/motd/d' /root/.bashrc
#echo -e "\e[92m Code .bashrc remove.\e[0m"
fi