From 44c9536a2ce3e32eb69a4c955ba0eb006d16a739 Mon Sep 17 00:00:00 2001 From: Florin Grad Date: Wed, 26 Sep 2001 14:24:06 +0000 Subject: remove the -E option in the AddRules grep --- init-sh/lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init-sh') 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 -- cgit v1.2.1