]> err.no Git - varnish/commitdiff
Debian packaging: Remove extra debhelper section in main postinst file, this
authorssm <ssm@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 11 Dec 2007 07:02:24 +0000 (07:02 +0000)
committerssm <ssm@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 11 Dec 2007 07:02:24 +0000 (07:02 +0000)
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

varnish-cache/debian/varnish.postinst

index 135d9e6414727f2357c737f68e2919743bdd7c75..f8264bc57ea04ab95f0b1a07f75aed013a1ed339 100644 (file)
@@ -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