summaryrefslogtreecommitdiff
path: root/community/mailman/mailman.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/mailman/mailman.install')
-rw-r--r--community/mailman/mailman.install9
1 files changed, 5 insertions, 4 deletions
diff --git a/community/mailman/mailman.install b/community/mailman/mailman.install
index 62a364e1a..98864b3d3 100644
--- a/community/mailman/mailman.install
+++ b/community/mailman/mailman.install
@@ -17,13 +17,14 @@ post_install() {
## arg 1: the new package version
## arg 2: the old package version
post_upgrade() {
- post_install "$1"
+ # check file permissions
+ cd /usr/lib/mailman && bin/check_perms > /dev/null
}
## arg 1: the old package version
-pre_remove() {
- userdel mailman >/dev/null || true
- groupdel mailman >/dev/null || true
+post_remove() {
+ userdel -f mailman >/dev/null 2>&1 || true
+ groupdel mailman >/dev/null 2>&1 || true
}
# vim:set ts=2 sw=2 ft=sh et: