diff options
author | Raphaël Marichez <falco@gentoo.org> | 2008-04-08 22:02:34 +0000 |
---|---|---|
committer | Raphaël Marichez <falco@gentoo.org> | 2008-04-08 22:02:34 +0000 |
commit | a3c50e3630cb44c86b70368b8a7eab857a19dbb3 (patch) | |
tree | 6459619b5d75685fcb0b9ce3e4236478bc772b1b /mail-mta/postfix/files | |
parent | Dont ignore errors in the shlib subdir #216952 by Markus Ullmann. (diff) | |
download | historical-a3c50e3630cb44c86b70368b8a7eab857a19dbb3.tar.gz historical-a3c50e3630cb44c86b70368b8a7eab857a19dbb3.tar.bz2 historical-a3c50e3630cb44c86b70368b8a7eab857a19dbb3.zip |
Fix bashism in init.d/postfix reported by Peter Alfredsen, bug #216949
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'mail-mta/postfix/files')
-rw-r--r-- | mail-mta/postfix/files/postfix.rc6.2.5 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail-mta/postfix/files/postfix.rc6.2.5 b/mail-mta/postfix/files/postfix.rc6.2.5 index 8814e225167b..48cbcf08bbca 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.1 2008/03/17 18:43:22 falco Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/files/postfix.rc6.2.5,v 1.2 2008/04/08 22:02:34 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. @@ -12,7 +12,7 @@ CONF_DIR="/etc/postfix" CONF_OPT="${SVCNAME##*.}" -if [[ -n ${CONF_OPT} && ${SVCNAME} != "postfix" ]]; then +if [ -n ${CONF_OPT} -a ${SVCNAME} != "postfix" ]; then CONF_DIR="${CONF_DIR}.${CONF_OPT}" fi |