From: ssm Date: Tue, 11 Dec 2007 07:02:24 +0000 (+0000) Subject: Debian packaging: Remove extra debhelper section in main postinst file, this X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f56d5bda92c3f2cbfd8e3dd380806c7bba08ddf3;p=varnish Debian packaging: Remove extra debhelper section in main postinst file, this was included by the debhelper tag as well, which resulted in a double startup entry, and an error on package installation. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2291 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/debian/varnish.postinst b/varnish-cache/debian/varnish.postinst index 135d9e64..f8264bc5 100644 --- a/varnish-cache/debian/varnish.postinst +++ b/varnish-cache/debian/varnish.postinst @@ -13,13 +13,3 @@ varnish_setup_user varnish_create_storagedir #DEBHELPER# -# Automatically added by dh_installinit -if [ -x "/etc/init.d/varnish" ]; then - update-rc.d varnish defaults >/dev/null - if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then - invoke-rc.d varnish start || exit $? - else - /etc/init.d/varnish start || exit $? - fi -fi -# End automatically added section