tags 398563 + patch
thanks

The update-inetd usage in the postrm of poppassd needs to be safeguarded
in case update-inetd is not available at that time.

Patch attached.

-- 
Regards,
Andreas Henriksson
diff -ur poppassd-1.8.5.orig/debian/postrm poppassd-1.8.5/debian/postrm
--- poppassd-1.8.5.orig/debian/postrm   2006-11-15 22:40:33.000000000 +0100
+++ poppassd-1.8.5/debian/postrm        2006-11-15 22:41:20.000000000 +0100
@@ -1,7 +1,10 @@
 #!/bin/sh
 set -e
-update-inetd --remove '^poppassd'
-update-inetd --comment-chars "#disabled#" --enable poppassd
+
+if which update-inetd >/dev/null 2>&1 ; then
+       update-inetd --remove '^poppassd'
+       update-inetd --comment-chars "#disabled#" --enable poppassd
+fi
 
 #DEBHELPER#
 

Reply via email to