diff --git a/debian/control b/debian/control index 03fc3eb..b2dba57 100644 --- a/debian/control +++ b/debian/control @@ -1,7 +1,7 @@ Source: cryptobox Section: admin Priority: extra -Maintainer: sense.lab development +Maintainer: Lars Kruse Build-Depends: debhelper (>>3.0.0), dpatch, gcc (>=2.95) Standards-Version: 3.6.2 diff --git a/debian/postinst b/debian/postinst index 9e93f60..3dd5ec1 100755 --- a/debian/postinst +++ b/debian/postinst @@ -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 -fi +#DEBHELPER# true diff --git a/debian/postrm b/debian/postrm index 3476a0c..b96ff52 100755 --- a/debian/postrm +++ b/debian/postrm @@ -6,9 +6,7 @@ if test "$1" = "purge" && getent passwd cryptobox 2>/dev/null >/dev/null \ userdel -r cryptobox fi -if [ "$1" = "purge" ] ; then - update-rc.d cryptobox remove >/dev/null || exit $? -fi +#DEBHELPER# # return without error true