Update unisntall.sh
This commit is contained in:
parent
a7a06e6642
commit
2a9311db03
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue