@ -1,7 +1,7 @@
Source: cryptobox
Section: admin
Priority: extra
Maintainer: sense.lab development <senselab@systemausfall.org>
Maintainer: Lars Kruse <devel@sumpfralle.de>
Build-Depends: debhelper (>>3.0.0), dpatch, gcc (>=2.95)
Standards-Version: 3.6.2
@ -37,14 +37,7 @@ chmod 4750 "/usr/lib/cryptobox/cryptobox_root_wrapper"
chown $CRYPTOBOX_USER: "/usr/lib/cgi-bin/cryptobox"
chmod 6755 "/usr/lib/cgi-bin/cryptobox"
if [ -x "/etc/init.d/cryptobox" ]; then
update-rc.d cryptobox defaults >/dev/null
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d cryptobox start || exit $?
else
/etc/init.d/cryptobox start || exit $?
fi
#DEBHELPER#
true
@ -6,9 +6,7 @@ if test "$1" = "purge" && getent passwd cryptobox 2>/dev/null >/dev/null \
userdel -r cryptobox
if [ "$1" = "purge" ] ; then
update-rc.d cryptobox remove >/dev/null || exit $?
# return without error