From 113433b867877a98915194631f8bbf14c6f65048 Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 13 Mar 2001 11:13:51 +0000 Subject: r451: * Fixed broken -e #SCRIPT# tests in init script start/stop/restart code. Arrgh. All packages built with the old code (that is, all daemon packages built with debhelper 3.0.9!) are broken. Closes: #89472 --- autoscripts/postinst-init-norestart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoscripts/postinst-init-norestart') diff --git a/autoscripts/postinst-init-norestart b/autoscripts/postinst-init-norestart index d57bfc09..3445f149 100644 --- a/autoscripts/postinst-init-norestart +++ b/autoscripts/postinst-init-norestart @@ -1,4 +1,4 @@ -if [ -e "#SCRIPT#" ]; then +if [ -e "/etc/init.d/#SCRIPT#" ]; then update-rc.d #SCRIPT# #INITPARMS# >/dev/null if [ "$1" = "configure" ]; then if [ -z "$2" -o "$2" = "" ]; then -- cgit v1.2.3