summaryrefslogblamecommitdiff
path: root/user/postfix/honour-config-directory.patch
blob: ad9d7ea3d936bc432f2363ffc667d5e7473a61b6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                                 
                   







                                                                                   
--- postfix-3.3.2/postfix-install
+++ postfix-3.3.2/postfix-install
@@ -846,7 +846,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