summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2010-12-16 11:42:35 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit30477b9f9ffbc754fa6dc409080e417f6f6c985e (patch)
treee5db69a287eb37029e11b9de324bccc5685bdf69
parentaede23fa32ce11a01ed85e52aafe9ba8cdd7745d (diff)
downloadpostfix-30477b9f9ffbc754fa6dc409080e417f6f6c985e.zip
postfix-30477b9f9ffbc754fa6dc409080e417f6f6c985e.tar.gz
- egrep -> grep -E
Changed files: postfix.init -> 1.29
-rw-r--r--postfix.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/postfix.init b/postfix.init
index 459e2d7..c44be2f 100644
--- a/postfix.init
+++ b/postfix.init
@@ -112,7 +112,7 @@ case "$1" in
;;
rebuilddb)
standard_db="access canonical relocated transport virtual"
- extra_db=$(ls -1 /etc/mail/*.db 2> /dev/null | egrep -v '/(access|canonical|relocated|transport|virtual|aliases)\.db$')
+ extra_db=$(ls -1 /etc/mail/*.db 2> /dev/null | grep -Ev '/(access|canonical|relocated|transport|virtual|aliases)\.db$')
echo -n "Rebuilding databases: "
for base in $standard_db $extra_db; do