summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/ssmtp/Makefile2
-rw-r--r--mail/ssmtp/pkg-plist2
2 files changed, 2 insertions, 2 deletions
diff --git a/mail/ssmtp/Makefile b/mail/ssmtp/Makefile
index fc65addf072c..3f7f676d9283 100644
--- a/mail/ssmtp/Makefile
+++ b/mail/ssmtp/Makefile
@@ -76,7 +76,7 @@ replace:
@${ECHO_CMD} "hoststat ${TRUE}" >> ${MAILERCONF}
@${ECHO_CMD} "purgestat ${TRUE}" >> ${MAILERCONF}
-pre-install:
+pre-su-install:
@${SETENV} ${SCRIPTS_ENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
diff --git a/mail/ssmtp/pkg-plist b/mail/ssmtp/pkg-plist
index 320ad3bbbed4..820255aa0a54 100644
--- a/mail/ssmtp/pkg-plist
+++ b/mail/ssmtp/pkg-plist
@@ -1,4 +1,4 @@
sbin/ssmtp
etc/ssmtp/revaliases.sample
etc/ssmtp/ssmtp.conf.sample
-@unexec rmdir %D/etc/ssmtp 2> /dev/null || echo "If you don't plan to reinstall ssmtp, you can safely remove %D/etc/ssmtp" | fmt
+@dirrmtry %D/etc/ssmtp 2> /dev/null || echo "If you don't plan to reinstall ssmtp, you can safely remove %D/etc/ssmtp" | fmt