summaryrefslogtreecommitdiff
path: root/user/postfix/honour-config-directory.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-22 05:59:20 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-22 05:59:20 +0000
commite8742fac72237e98c50465c7025734ef5dd30fb4 (patch)
tree22b2223bdbaf04a91f46c9b2b5a5b7b77c8a929c /user/postfix/honour-config-directory.patch
parentf24ed16dccb1bd1f14309a047dbb4057077c2cb3 (diff)
downloadpackages-e8742fac72237e98c50465c7025734ef5dd30fb4.tar.gz
packages-e8742fac72237e98c50465c7025734ef5dd30fb4.tar.bz2
packages-e8742fac72237e98c50465c7025734ef5dd30fb4.tar.xz
packages-e8742fac72237e98c50465c7025734ef5dd30fb4.zip
user/postfix: new package
Diffstat (limited to 'user/postfix/honour-config-directory.patch')
-rw-r--r--user/postfix/honour-config-directory.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/postfix/honour-config-directory.patch b/user/postfix/honour-config-directory.patch
new file mode 100644
index 000000000..a32c588ee
--- /dev/null
+++ b/user/postfix/honour-config-directory.patch
@@ -0,0 +1,11 @@
+--- postfix-3.3.2/postfix-install
++++ postfix-3.3.2/postfix-install
+@@ -832,7 +832,7 @@
+ # the wrong place when Postfix is being upgraded.
+
+ case "$mail_version" in
+-"") mail_version="`bin/postconf -dhx mail_version`" || exit 1
++"") mail_version="`bin/postconf -c $CONFIG_DIRECTORY -dhx mail_version`" || exit 1
+ esac
+
+ # Undo MAIL_VERSION expansion at the end of a parameter value. If