HomeFreeBSD

Make sure pkg-install works with postfix-base, too.

Description

Make sure pkg-install works with postfix-base, too.

Prior to this fix, pkg-install used hardcoded
${PKG_PREFIX}/sbin/postconf, but postfix-base installs it into
/usr/sbin/postconf.

Instead, do a path search for postconf in ${PKG_PREFIX}/sbin:$PATH and
cache the result in a variable.

Details

Provenance
mandreeAuthored on
Parents
rP409903: Please welcome Christoph Moench-Tegeder (cmt@) as a new ports committer.
Branches
Unknown
Tags
Unknown