summaryrefslogtreecommitdiff
path: root/community-testing/mailman/mailman.install
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/mailman/mailman.install')
-rw-r--r--community-testing/mailman/mailman.install29
1 files changed, 0 insertions, 29 deletions
diff --git a/community-testing/mailman/mailman.install b/community-testing/mailman/mailman.install
deleted file mode 100644
index 62a364e1a..000000000
--- a/community-testing/mailman/mailman.install
+++ /dev/null
@@ -1,29 +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() {
- post_install "$1"
-}
-
-## arg 1: the old package version
-pre_remove() {
- userdel mailman >/dev/null || true
- groupdel mailman >/dev/null || true
-}
-
-# vim:set ts=2 sw=2 ft=sh et: