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