diff options
author | Florin Grad <florin@mandriva.com> | 2001-09-26 14:24:06 +0000 |
---|---|---|
committer | Florin Grad <florin@mandriva.com> | 2001-09-26 14:24:06 +0000 |
commit | 44c9536a2ce3e32eb69a4c955ba0eb006d16a739 (patch) | |
tree | 804228ac58807de6abfe100b35badd9010303a25 /init-sh | |
parent | 8d7d800c38ead4e74763fa33bd38aa59c95b63f3 (diff) | |
download | msec-44c9536a2ce3e32eb69a4c955ba0eb006d16a739.tar msec-44c9536a2ce3e32eb69a4c955ba0eb006d16a739.tar.gz msec-44c9536a2ce3e32eb69a4c955ba0eb006d16a739.tar.bz2 msec-44c9536a2ce3e32eb69a4c955ba0eb006d16a739.tar.xz msec-44c9536a2ce3e32eb69a4c955ba0eb006d16a739.zip |
remove the -E option in the AddRules grep
Diffstat (limited to 'init-sh')
-rw-r--r-- | init-sh/lib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init-sh/lib.sh b/init-sh/lib.sh index 4ddc642..544442b 100644 --- a/init-sh/lib.sh +++ b/init-sh/lib.sh @@ -33,7 +33,7 @@ AddRules() { echo "Modifying config in ${file}..." fi - if ! grep -Eqx "^${string}" ${file}; then + if ! grep -qx "^${string}" ${file}; then echo -e "${COMMENT}" >> ${file}; echo -e "${string}" >> ${file}; fi |