summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphaël Marichez <falco@gentoo.org>2008-08-18 14:18:40 +0000
committerRaphaël Marichez <falco@gentoo.org>2008-08-18 14:18:40 +0000
commit25023d4b974ea1980c7b0f8962755abf8c886b8c (patch)
tree7734d9ea19e6d847f7823001e496d8910a5d4181 /mail-mta
parentamd64 stable, bug #233583. (diff)
downloadgentoo-2-25023d4b974ea1980c7b0f8962755abf8c886b8c.tar.gz
gentoo-2-25023d4b974ea1980c7b0f8962755abf8c886b8c.tar.bz2
gentoo-2-25023d4b974ea1980c7b0f8962755abf8c886b8c.zip
fix bashisms bug 234838
(Portage version: 2.1.4.4)
Diffstat (limited to 'mail-mta')
-rw-r--r--mail-mta/postfix/ChangeLog5
-rw-r--r--mail-mta/postfix/files/postfix.rc6.2.56
2 files changed, 7 insertions, 4 deletions
diff --git a/mail-mta/postfix/ChangeLog b/mail-mta/postfix/ChangeLog
index f9620b83a782..dc1dec9ee3b0 100644
--- a/mail-mta/postfix/ChangeLog
+++ b/mail-mta/postfix/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for mail-mta/postfix
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/ChangeLog,v 1.166 2008/08/14 12:33:40 falco Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/ChangeLog,v 1.167 2008/08/18 14:18:39 falco Exp $
+
+ 18 Aug 2008; Raphael Marichez <falco@gentoo.org> files/postfix.rc6.2.5:
+ Fix bashisms in the init.d script, fix bug #234838 thanks to Martin Vath
*postfix-2.5.3-r1 (14 Aug 2008)
*postfix-2.4.7-r1 (14 Aug 2008)
diff --git a/mail-mta/postfix/files/postfix.rc6.2.5 b/mail-mta/postfix/files/postfix.rc6.2.5
index 48cbcf08bbca..b2396b3aea3c 100644
--- a/mail-mta/postfix/files/postfix.rc6.2.5
+++ b/mail-mta/postfix/files/postfix.rc6.2.5
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/files/postfix.rc6.2.5,v 1.2 2008/04/08 22:02:34 falco Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/files/postfix.rc6.2.5,v 1.3 2008/08/18 14:18:40 falco Exp $
# If you plan to simultaneously use several Postfix instances, don't forget
# to specify your alternate_config_directories variable in your main main.cf file.
@@ -20,7 +20,7 @@ opts="${opts} reload"
depend() {
use logger dns ypbind amavisd mysql postgresql antivirus postfix_greylist net saslauthd
- if [ "${SVCNAME}" == "postfix" ]; then
+ if [ "${SVCNAME}" = "postfix" ]; then
provide mta
fi
}
@@ -31,7 +31,7 @@ start() {
eend 1 "${CONF_DIR} does not exist"
return 1
fi
- /usr/sbin/postfix -c ${CONF_DIR} start &>/dev/null
+ /usr/sbin/postfix -c ${CONF_DIR} start >/dev/null 2>&1
eend $?
}