summaryrefslogtreecommitdiff
path: root/user/postfix/honour-config-directory.patch
blob: a32c588eeb70e546a7f2f3835648ac18616866df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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