From 8c33c58e0733a926d52bc87ac36e6e45a588864e Mon Sep 17 00:00:00 2001 From: Erreur32 Date: Mon, 30 Mar 2020 23:19:17 +0200 Subject: [PATCH] first commit --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 116383b..d5a7237 100755 --- a/install.sh +++ b/install.sh @@ -282,7 +282,8 @@ if test -f /usr/bin/motds32; then /usr/bin/motds32 -g; fi else echo " code bash found" sed -i '/cat \/etc\/motd/d' ~/.bashrc - echo -e "\e[92m Code .bashrc remove.\e[0m" + sed -i '/cat \/usr\/bin\/motds32 -g/d' ~/.bashrc + echo -e "\e[92m Code .bashrc removed.\e[0m" grep -n '/etc/motd' ~/.bashrc fi