1 # arg 1: the new package version
3 if [ -z "`grep '^rbldns::' /etc/group`" ]; then
4 groupadd -g 58 rbldns >& /dev/null
6 if [ -z "`grep '^rbldns:' /etc/passwd`" ]; then
7 useradd -u 58 -d /var/lib/rbldns -g rbldns -s /bin/false rbldns
9 if [ -z "`grep '^rbldnszones::' /etc/group`" ]; then
10 groupadd -g 59 rbldnszones >& /dev/null
12 if [ -z "`grep '^rbldnszones:' /etc/passwd`" ]; then
13 useradd -u 59 -d /var/lib/rbldns -g rbldnszones -s /bin/false rbldnszones
17 # arg 1: the new package version
18 # arg 2: the old package version
23 # arg 1: the old package version
25 userdel rbldns &> /dev/null
26 groupdel rbldns &> /dev/null
27 userdel rbldnszones &> /dev/null
28 groupdel rbldnszones &> /dev/null