diff options
author | Florin Grad <florin@mandriva.com> | 2001-10-03 12:51:06 +0000 |
---|---|---|
committer | Florin Grad <florin@mandriva.com> | 2001-10-03 12:51:06 +0000 |
commit | e8ccdd1f9c925cfc9db366ab821473c92bef9031 (patch) | |
tree | 234f026aaec0c04dcd23c84ac75980fd7b9f2b3d /init-sh/lib.sh | |
parent | 2640cda35f89250164ccdc5736b360ca3b30b7c8 (diff) | |
download | msec-e8ccdd1f9c925cfc9db366ab821473c92bef9031.tar msec-e8ccdd1f9c925cfc9db366ab821473c92bef9031.tar.gz msec-e8ccdd1f9c925cfc9db366ab821473c92bef9031.tar.bz2 msec-e8ccdd1f9c925cfc9db366ab821473c92bef9031.tar.xz msec-e8ccdd1f9c925cfc9db366ab821473c92bef9031.zip |
add print in CleanRules
Diffstat (limited to 'init-sh/lib.sh')
-rw-r--r-- | init-sh/lib.sh | 4 |
1 files changed, 1 insertions, 3 deletions
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 |