summaryrefslogtreecommitdiffstats
path: root/dovecot-managesieve/dovecot-managesieve.install
diff options
context:
space:
mode:
Diffstat (limited to 'dovecot-managesieve/dovecot-managesieve.install')
-rw-r--r--dovecot-managesieve/dovecot-managesieve.install26
1 files changed, 0 insertions, 26 deletions
diff --git a/dovecot-managesieve/dovecot-managesieve.install b/dovecot-managesieve/dovecot-managesieve.install
deleted file mode 100644
index 5175734..0000000
--- a/dovecot-managesieve/dovecot-managesieve.install
+++ /dev/null
@@ -1,26 +0,0 @@
-# arg 1: the new package version
-post_install() {
- if [ -z "`grep '^dovecot:' /etc/group`" ]; then
- groupadd -g 76 dovecot >& /dev/null
- fi
- if [ -z "`grep '^dovecot:' /etc/passwd`" ]; then
- useradd -u 76 -d /var/run/dovecot/login -g dovecot -s /bin/false dovecot
- fi
-}
-
-# 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 dovecot &> /dev/null
- groupdel dovecot &> /dev/null
-}
-
-op=$1
-shift
-
-$op $*