3 # Patch managed by http://www.holgerschurig.de/patcher.html
6 --- postfix-2.0.15/postfix-install~install.patch
7 +++ postfix-2.0.15/postfix-install
12 -test -x bin/postconf || {
13 - echo $0: Error: no bin/postconf file. Did you forget to run \"make\"? 1>&2
14 +test -x $POSTCONF || {
15 + echo $0: Error: no $POSTCONF file. Did you forget to run \"make\"? 1>&2
23 -: ${config_directory=`bin/postconf -h -d config_directory`}
24 +: ${config_directory=`$POSTCONF -h -d config_directory`}
26 # Find out the location of installed configuration files.
30 "") eval unset $name;;
32 - eval : \${$name=\`bin/postconf -c $CONFIG_DIRECTORY -h $name\`} ||
33 + eval : \${$name=\`$POSTCONF -c $CONFIG_DIRECTORY -h $name\`} ||
39 "") eval unset $name;;
41 - eval : \${$name=\`bin/postconf -d -h $name\`} || exit 1
42 + eval : \${$name=\`$POSTCONF -d -h $name\`} || exit 1
45 # Override settings manually.
47 SAMPLE_DIRECTORY=$install_root$sample_directory
48 README_DIRECTORY=$install_root$readme_directory
50 +test "x$POSTCONF" != "x" || POSTCONF="bin/postconf"
52 # Avoid repeated tests for existence of these; default permissions suffice.
54 test -d $DAEMON_DIRECTORY || mkdir -p $DAEMON_DIRECTORY || exit 1
56 # Postfix releases, and software should not suddenly be installed in
57 # the wrong place when Postfix is being upgraded.
59 -bin/postconf -c $CONFIG_DIRECTORY -e \
60 +$POSTCONF -c $CONFIG_DIRECTORY -e \
61 "daemon_directory = $daemon_directory" \
62 "command_directory = $command_directory" \
63 "queue_directory = $queue_directory" \