diff options
author | triaxx <triaxx@pkgsrc.org> | 2020-01-28 08:16:51 +0000 |
---|---|---|
committer | triaxx <triaxx@pkgsrc.org> | 2020-01-28 08:16:51 +0000 |
commit | 3c6a19f302bf1417342c0995105f16683be89d47 (patch) | |
tree | cf33ba6d095cb151c6a29fbdc3d19d382431f476 /mail/postfix/Makefile | |
parent | 9039f0c29dbd3344d9eb4f900ed246419556a17e (diff) | |
download | pkgsrc-3c6a19f302bf1417342c0995105f16683be89d47.tar.gz |
mail/postfix: fix insufficient permissions for var/spool/postfix/...
pkgsrc changes:
---------------
* Remove the subdirectories of var/spool/postfix to avoid insufficient
permissions when upgrading (Thanks Matthias!).
Diffstat (limited to 'mail/postfix/Makefile')
-rw-r--r-- | mail/postfix/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile index 45ae3a4017b..d06c97e6cc0 100644 --- a/mail/postfix/Makefile +++ b/mail/postfix/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.315 2020/01/18 21:49:53 jperkin Exp $ +# $NetBSD: Makefile,v 1.316 2020/01/28 08:16:51 triaxx Exp $ -PKGREVISION= 1 +PKGREVISION= 2 .include "../../mail/postfix/Makefile.common" COMMENT= Fast, easy to administer, and secure mail transfer agent @@ -76,5 +76,8 @@ do-install: ${DESTDIR}${PREFIX}/sbin/qshape ${INSTALL_MAN} ${WRKSRC}/man/man1/qshape.1 \ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 +.for dir in ${POSTFIX_QUEUE_SUBDIR} + ${RMDIR} ${DESTDIR}${POSTFIX_QUEUE_DIR}/${dir} +.endfor .include "../../mk/bsd.pkg.mk" |