From 3d78339ab50dce4dd10d4a7155bb911a47aa67da Mon Sep 17 00:00:00 2001 From: Erreur32 Date: Mon, 30 Mar 2020 23:17:18 +0200 Subject: [PATCH] first commit --- install.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/install.sh b/install.sh index 4c7b9be..116383b 100755 --- a/install.sh +++ b/install.sh @@ -130,7 +130,7 @@ tput cup 11 0 echo -e "\n\e[34m - apt-get installation build-essential ntp figlet \e[0m>> Succesfull" if [ -f "/usr/bin/motds32" ] then - echo -e "\n\e[34m - Make file \e[0m>> founded.\e[0m\n" + echo -e "\n\e[34m - Make file \e[0m>> found.\e[0m\n" #make install #echo -e "\n\e[34m - REMake file done.\e[0m\n" else @@ -211,7 +211,7 @@ if test -f /usr/bin/motds32; then /usr/bin/motds32 -g; fi if [ -f "/usr/bin/motds32" ] then - echo -e "\n\e[34m - Make file \e[0m>> founded.\e[0m\n" + echo -e "\n\e[34m - Make file \e[0m>> found.\e[0m\n" #make install #echo -e "\n\e[34m - REMake file done.\e[0m\n" else @@ -268,19 +268,19 @@ if test -f /usr/bin/motds32; then /usr/bin/motds32 -g; fi rm /var/cache/motds32/ -Rf ## remove cron - if crontab -l | grep -q '/usr/bin/motds32'; then - echo -e " \e[92m Cron localized\n" - crontab -l | grep -v '/usr/bin/motds32 -g 2>1' | crontab -u root - - echo -e " \e[92m Cron removed\n" + if crontab -l | grep -q '/usr/bin/motds32'; then + echo -e " \e[92m Cron localized\n" + crontab -l | grep -v '/usr/bin/motds32 -g 2>1' | crontab -u root - + echo -e " \e[92m Cron removed\n" else - echo -e " \e[93m Cron not find\n" + echo -e " \e[93m Cron not find\n" fi if [ `grep -c /etc/motd ~/.bashrc` == 0 ] then - echo " Code bash not founded" + echo " Code bash not found" else - echo " code bash founded" + echo " code bash found" sed -i '/cat \/etc\/motd/d' ~/.bashrc echo -e "\e[92m Code .bashrc remove.\e[0m" grep -n '/etc/motd' ~/.bashrc