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:
Juraj Lutter 2025-02-20 22:39:43 +01:00
parent 03ed1e0ee3
commit b2d39efa84

View file

@ -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}