--- a/postfix-install +++ b/postfix-install @@ -205,8 +205,8 @@ exit 1 } -test -x bin/postconf || { - echo $0: Error: no bin/postconf file. Did you forget to run \"make\"? 1>&2 +test -x $postconf || { + echo $0: Error: no $postconf file. Did you forget to run \"make\"? 1>&2 exit 1 } @@ -368,7 +368,7 @@ : ${install_root=/} : ${tempdir=`pwd`} -: ${config_directory=`bin/postconf -c conf -h -d config_directory`} +: ${config_directory=`$postconf -c conf -h -d config_directory`} # Find out the location of installed configuration files. @@ -438,7 +438,7 @@ case "$junk" in "") eval unset $name;; esac - eval : \${$name=\`bin/postconf -c $CONFIG_DIRECTORY -h $name\`} || + eval : \${$name=\`$postconf -c $CONFIG_DIRECTORY -h $name\`} || exit 1 done } @@ -451,7 +451,7 @@ case "$junk" in "") eval unset $name;; esac - eval : \${$name=\`bin/postconf -c conf -d -h $name\`} || exit 1 + eval : \${$name=\`$postconf -c conf -d -h $name\`} || exit 1 done # Override settings manually. @@ -729,7 +729,7 @@ # Postfix releases, and software should not suddenly be installed in # the wrong place when Postfix is being upgraded. -bin/postconf -c $CONFIG_DIRECTORY -e \ +$postconf -c $CONFIG_DIRECTORY -e \ "daemon_directory = $daemon_directory" \ "data_directory = $data_directory" \ "command_directory = $command_directory" \