]> git.donarmstrong.com Git - debhelper.git/commitdiff
r451: * Fixed broken -e #SCRIPT# tests in init script start/stop/restart code.
authorjoey <joey>
Tue, 13 Mar 2001 11:13:51 +0000 (11:13 +0000)
committerjoey <joey>
Tue, 13 Mar 2001 11:13:51 +0000 (11:13 +0000)
     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
autoscripts/postinst-init-norestart
autoscripts/prerm-init
autoscripts/prerm-init-norestart
debian/changelog

index 5ef99c7c3d67339a9b92731aedf64e09d9a135d4..159b12d70c3aeb745ab76fcd4415b5689e589be0 100644 (file)
@@ -1,4 +1,4 @@
-if [ -e "#SCRIPT#" ]; then
+if [ -e "/etc/init.d/#SCRIPT#" ]; then
        update-rc.d #SCRIPT# #INITPARMS# >/dev/null
        /etc/init.d/#SCRIPT# start
 fi
index d57bfc09667bc2a184d4f3c2c4dc6d17cb174c08..3445f149e99ce28c9b32b879c2ad6a3b365eea07 100644 (file)
@@ -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
index 260d69d9e3d34cf1a552100abbd8a4eac5d3dd1c..9ffa64b749dd235e82ecbb55585ec4dd263fb91f 100644 (file)
@@ -1,3 +1,3 @@
-if [ -e "#SCRIPT#" ]; then
+if [ -e "/etc/init.d/#SCRIPT#" ]; then
        /etc/init.d/#SCRIPT# stop
 fi
index e04ec25a1206f350db69120a4e64c6fef3a917ea..47a49d4a65ac50c947d41fd97417305d6bf108f6 100644 (file)
@@ -1,3 +1,3 @@
-if [ -e "#SCRIPT#" -a "$1" = remove ]; then
+if [ -e "/etc/init.d/#SCRIPT#" -a "$1" = remove ]; then
        /etc/init.d/#SCRIPT# stop
 fi
index 4468a46266d74f0cefbb4c3e6cd55bb2ee39e300..686bb497cf34bf58834b9f1faf445c590a62e9bb 100644 (file)
@@ -1,3 +1,11 @@
+debhelper (3.0.10) unstable; urgency=medium
+
+  * 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
+
+ -- Joey Hess <joeyh@debian.org>  Tue, 13 Mar 2001 06:10:03 -0500
+
 debhelper (3.0.9) unstable; urgency=low
 
   * Modified to use dpkg-architecture instead of dpkg --print-architecture.