1 # arg 1: the new package version
3 if [ -z "`grep '^dovecot:' /etc/group`" ]; then
4 groupadd -g 76 dovecot >& /dev/null
6 if [ -z "`grep '^dovecot:' /etc/passwd`" ]; then
7 useradd -u 76 -d /var/run/dovecot/login -g dovecot -s /bin/false dovecot
11 # arg 1: the new package version
12 # arg 2: the old package version
17 # arg 1: the old package version
19 userdel dovecot &> /dev/null
20 groupdel dovecot &> /dev/null