Attached is the patch to fix the failure to call the init.d script via
invoke-rc.d (if installed). I will be making a DELAYED/7 non-maintainer
upload with this in a moment.

-- 
On a clear disk, you seek forever.
diff -u linuxlogo-4.12/debian/changelog linuxlogo-4.12/debian/changelog
--- linuxlogo-4.12/debian/changelog
+++ linuxlogo-4.12/debian/changelog
@@ -1,3 +1,11 @@
+linuxlogo (4.12-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/postrm: Call init.d script via invoke-rc.d, if it is available.
+    (Closes: #367722) 
+
+ -- Lars Wirzenius <[EMAIL PROTECTED]>  Sun, 25 Jun 2006 12:13:21 +0300
+
 linuxlogo (4.12-2) unstable; urgency=low
 
   * Updated to Standards-Version 3.6.2. 
diff -u linuxlogo-4.12/debian/postinst linuxlogo-4.12/debian/postinst
--- linuxlogo-4.12/debian/postinst
+++ linuxlogo-4.12/debian/postinst
@@ -15,7 +15,11 @@
 case "$1" in
     configure)
         rm -f /usr/bin/linux_logo_wait
-	/etc/init.d/linuxlogo restart >/dev/null
+        if which invoke-rc.d >/dev/null 2>&1; then
+            invoke-rc.d linuxlogo restart
+        else
+            /etc/init.d/linuxlogo restart >/dev/null
+        fi
 
     ;;
 

Reply via email to