mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
mail/postfix: Fix pkg-install script, take 2
Quick fix for pkg-install script where a mismerge from PR happened.
This commit is contained in:
parent
03ed1e0ee3
commit
b2d39efa84
1 changed files with 2 additions and 2 deletions
|
@ -81,8 +81,8 @@ install_mailer_conf() {
|
|||
mailerconf=$1
|
||||
echo "Activate Postfix in ${mailerconf}"
|
||||
if [ "${USE_LOCALBASE_MAILER_CONF}" = "yes" ]; then
|
||||
[ -d "${PKGROOT}/%%LOCALBASE%%/etc/mail" ] || \
|
||||
mkdir -p "${PKGROOT}/%%LOCALBASE%%/etc/mail"
|
||||
[ -d "${PKG_ROOTDIR}/%%LOCALBASE%%/etc/mail" ] || \
|
||||
mkdir -p "${PKG_ROOTDIR}/%%LOCALBASE%%/etc/mail"
|
||||
fi
|
||||
[ -f ${mailerconf} ] && mv -f ${mailerconf} ${mailerconf}.old
|
||||
install -m 644 ${MC_TEMPLATE} ${mailerconf}
|
||||
|
|
Loading…
Add table
Reference in a new issue