git: b2d39efa84e2 - main - mail/postfix: Fix pkg-install script, take 2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Feb 2025 21:41:13 UTC
The branch main has been updated by otis:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b2d39efa84e236ec6f9dbb74e8e5a754b27ecffb
commit b2d39efa84e236ec6f9dbb74e8e5a754b27ecffb
Author: Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2025-02-20 21:39:43 +0000
Commit: Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2025-02-20 21:41:02 +0000
mail/postfix: Fix pkg-install script, take 2
Quick fix for pkg-install script where a mismerge from PR happened.
---
mail/postfix/files/pkg-install.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mail/postfix/files/pkg-install.in b/mail/postfix/files/pkg-install.in
index 8d2dc92fc99c..cf5467b5f53a 100644
--- a/mail/postfix/files/pkg-install.in
+++ b/mail/postfix/files/pkg-install.in
@@ -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}