3 # Skeleton maintainer script showing all the possible cases.
4 # Written by Charles Briscoe-Smith, March-June 1998. Public Domain.
6 # Abort if any command returns an error value
11 # Configure this package. If the package must prompt the user for
12 # information, do it here.
13 if ! getent group citadel >/dev/null; then
16 if ! getent passwd citadel >/dev/null; then
17 adduser --system --ingroup citadel --home /var/lib/citadel \
18 --gecos "Citadel system user" --shell /bin/sh \
19 --disabled-password citadel
22 chown citadel:citadel /etc/citadel/citadel.rc
24 abort-upgrade|abort-remove|abort-deconfigure)
26 *) echo "$0: didn't understand being called with \`$1'" 1>&2