diff options
author | Juraj Lutter <otis@FreeBSD.org> | 2025-02-20 22:39:43 +0100 |
---|---|---|
committer | Juraj Lutter <otis@FreeBSD.org> | 2025-02-20 22:41:02 +0100 |
commit | b2d39efa84e236ec6f9dbb74e8e5a754b27ecffb (patch) | |
tree | 51baf2e2c33774e60277a4fc6c8735d6c1a7502b /mail/postfix/files | |
parent | textproc/kdiff3: Update to 1.12.1 (diff) |
mail/postfix: Fix pkg-install script, take 2
Quick fix for pkg-install script where a mismerge from PR happened.
Diffstat (limited to 'mail/postfix/files')
-rw-r--r-- | mail/postfix/files/pkg-install.in | 4 |
1 files 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} |