Update install.sh
This commit is contained in:
parent
aa540459a8
commit
cb29fd4a1b
1 changed files with 4 additions and 4 deletions
|
@ -64,7 +64,9 @@ echo -e "\n\e[34mInstallation of MOTDs32 in progress... \e[0m"
|
||||||
|
|
||||||
## Install command in bashrc
|
## Install command in bashrc
|
||||||
|
|
||||||
|
echo -ne '\e[0m # (5%)\r'
|
||||||
|
sleep 1
|
||||||
|
echo -e "\n\n"
|
||||||
|
|
||||||
if [ `grep -c /etc/motd /root/.bashrc` == 0 ]
|
if [ `grep -c /etc/motd /root/.bashrc` == 0 ]
|
||||||
then
|
then
|
||||||
|
@ -76,9 +78,7 @@ else
|
||||||
#sed -i '/cat \/etc\/motd/d' /root/.bashrc
|
#sed -i '/cat \/etc\/motd/d' /root/.bashrc
|
||||||
#echo -e "\e[92m Code .bashrc remove.\e[0m"
|
#echo -e "\e[92m Code .bashrc remove.\e[0m"
|
||||||
fi
|
fi
|
||||||
echo -ne '\e[0m ## (10%)\r'
|
|
||||||
sleep 1
|
|
||||||
echo -e "\n\n"
|
|
||||||
## Insdtall modules
|
## Insdtall modules
|
||||||
|
|
||||||
if [ -f "/etc/motds32/Stats32" ]
|
if [ -f "/etc/motds32/Stats32" ]
|
||||||
|
|
Loading…
Reference in a new issue