summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-init-norestart
diff options
context:
space:
mode:
authorjoey <joey>2001-03-13 11:13:51 +0000
committerjoey <joey>2001-03-13 11:13:51 +0000
commit113433b867877a98915194631f8bbf14c6f65048 (patch)
tree87aa0106601cf4fd0d54f0bd6ce15c2927207875 /autoscripts/postinst-init-norestart
parent515a01d46a768ee63a4665c643cdd6889ffaebfc (diff)
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
Diffstat (limited to 'autoscripts/postinst-init-norestart')
-rw-r--r--autoscripts/postinst-init-norestart2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postinst-init-norestart b/autoscripts/postinst-init-norestart
index d57bfc0..3445f14 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" = "<unknown>" ]; then