$Log$
+Revision 654.7 2005/08/10 02:44:56 ajc
+* Applied changes to debian files sent in by WG
+
Revision 654.6 2005/08/09 21:58:57 ajc
* Removed the ./help/? hack; replaced with actual "show directory" code
in the server.
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
configure)
# Configure this package. If the package must prompt the user for
# information, do it here.
- :
+ if ! getent group citadel >/dev/null; then
+ groupadd citadel
+ fi
+ if ! getent passwd citadel >/dev/null; then
+ adduser --system --ingroup citadel --home /var/lib/citadel \
+ --gecos "Citadel system user" --shell /bin/sh \
+ --disabled-password citadel
+ fi
+ mkdir -p /etc/citadel
+ chown citadel:citadel /etc/citadel
gunzip -c /usr/share/doc/citadel-client/examples/citadel.rc.gz> /tmp/citadel.rc
ucf /tmp/citadel.rc /etc/citadel/citadel.rc
rm -f /tmp/citadel.rc
# Configure this package. If the package must prompt the user for
# information, do it here.
if ! getent group citadel >/dev/null; then
- groupadd --system citadel
+ groupadd citadel
fi
if ! getent passwd citadel >/dev/null; then
adduser --system --ingroup citadel --home /var/lib/citadel \
--disabled-password citadel
fi
mkdir -p /etc/citadel
+ chown citadel:citadel /etc/citadel
# Activate menu-methods script
#: chmod a+x /etc/menu-methods/foo