2 # postinst script for citadel-server
6 . /usr/share/debconf/confmodule
11 if ! getent group citadel >/dev/null; then
12 addgroup --system citadel
15 if ! getent passwd citadel >/dev/null; then
16 adduser --system --ingroup citadel --home /var/lib/citadel \
17 --gecos "Citadel system user" --shell /bin/sh \
18 --disabled-password --no-create-home --shell /bin/false citadel
21 chown -R citadel:citadel /etc/citadel
24 abort-upgrade|abort-remove|abort-deconfigure)
28 echo "postinst called with unknown argument \`$1'" >&2