summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail-filter/mimedefang/mimedefang-2.57.ebuild')
-rw-r--r--mail-filter/mimedefang/mimedefang-2.57.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail-filter/mimedefang/mimedefang-2.57.ebuild b/mail-filter/mimedefang/mimedefang-2.57.ebuild
index 102eb5797..4e70fdc10 100644
--- a/mail-filter/mimedefang/mimedefang-2.57.ebuild
+++ b/mail-filter/mimedefang/mimedefang-2.57.ebuild
@@ -46,6 +46,12 @@ src_install() {
dodoc Changelog README README.ANOMY README.IRIX README.NONROOT \
README.SECURITY README.SOPHIE README.SPAMASSASSIN
keepdir /var/spool/{MIMEDefang,MD-Quarantine}
+ fperms 775 /var/spool/MIMEDefang
fperms 755 /var/spool/MD-Quarantine
- fowners defang:defang /var/spool/MD-Quarantine
+ fowners defang:defang /var/spool/{MIMEDefang,MD-Quarantine}
+}
+
+pkg_postrm() {
+ [[ -e ${ROOT}/var/spool/MIMEDefang/.keep ]] && \
+ rm -f ${ROOT}/var/spool/{MIMEDefang,MD-Quarantine}/.keep
}