From e8ccdd1f9c925cfc9db366ab821473c92bef9031 Mon Sep 17 00:00:00 2001 From: Florin Grad Date: Wed, 3 Oct 2001 12:51:06 +0000 Subject: add print in CleanRules --- init-sh/lib.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'init-sh/lib.sh') diff --git a/init-sh/lib.sh b/init-sh/lib.sh index 77b63a4..8afefdb 100644 --- a/init-sh/lib.sh +++ b/init-sh/lib.sh @@ -94,7 +94,7 @@ OLD_CleanRules() { CleanRules() { echo -en "\t- Cleaning msec appended line in $1 : " - perl -ni -e '$_ eq "$ENV{COMMENT}\n" ... //' $1 + perl -ni -e '$_ eq "$ENV{COMMENT}\n" ... // or print' $1 echo "done." } @@ -352,8 +352,6 @@ if [[ -f /etc/profile.d/msec.sh && -f /etc/profile.d/msec.csh ]]; then CleanRules /etc/profile.d/msec.sh CleanRules /etc/profile.d/msec.csh else - touch /etc/profile.d/msec.sh - touch /etc/profile.d/msec.csh chmod 755 /etc/profile.d/msec.sh chmod 755 /etc/profile.d/msec.csh fi -- cgit v1.2.1