diff options
Diffstat (limited to 'community/mailman/mailman.install')
-rw-r--r-- | community/mailman/mailman.install | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/community/mailman/mailman.install b/community/mailman/mailman.install deleted file mode 100644 index 98864b3d3..000000000 --- a/community/mailman/mailman.install +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -## arg 1: the new package version -post_install() { - if ! getent group mailman >/dev/null; then - groupadd -g 80 mailman >/dev/null - fi - - if ! getent passwd mailman >/dev/null; then - useradd -s /sbin/nologin -c "GNU Mailing List Manager" -d /usr/lib/mailman \ - -u 80 -g mailman -M -r mailman >/dev/null - fi - # check file permissions - cd /usr/lib/mailman && bin/check_perms > /dev/null -} - -## arg 1: the new package version -## arg 2: the old package version -post_upgrade() { - # check file permissions - cd /usr/lib/mailman && bin/check_perms > /dev/null -} - -## arg 1: the old package version -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: |