#/bin/sh # arg 1: the new package version post_install() { getent group znc >/dev/null || groupadd -g 136 znc getent passwd znc >/dev/null || useradd -d /var/empty -u 136 -g 136 znc true } # arg 1: the old package version post_remove() { userdel -f znc >/dev/null 2>&1 groupdel znc >/dev/null 2>&1 true } # vim:set ts=2 sw=2 ft=sh et: