2 # Abort if any command returns an error value
7 if ! getent group citadel >/dev/null; then
10 if ! getent passwd citadel >/dev/null; then
11 adduser --system --ingroup citadel --home /var/lib/citadel \
12 --gecos "Citadel system user" --shell /bin/sh \
13 --disabled-password citadel
16 chown citadel:citadel /etc/citadel/citadel.rc
18 abort-upgrade|abort-remove|abort-deconfigure)
20 *) echo "$0: didn't understand being called with \`$1'" 1>&2