user [EMAIL PROTECTED]
usertags 416670 + [EMAIL PROTECTED]
tags 416670 + patch
thanks

Hi,

The patch attached makes a conditional call to update-inetd in the
postrm script. That way bootp no longer depends on non-essential
packages in postrm.

Have a nice day,
Javi (vicho)
diff -u bootp-2.4.3/debian/postrm bootp-2.4.3/debian/postrm
--- bootp-2.4.3/debian/postrm
+++ bootp-2.4.3/debian/postrm
@@ -2,7 +2,9 @@
 # $Id: postrm,v 1.1 1999/03/14 04:26:30 herbert Exp $
 
 if [ "$1" = remove -o "$1" = purge ]; then
-	update-inetd --remove "bootps		dgram	udp	wait	root	/usr/sbin/bootpd	bootpd -i -t 120"
+	if command -v update-inetd >/dev/null 2>&1; then
+		update-inetd --remove "bootps		dgram	udp	wait	root	/usr/sbin/bootpd	bootpd -i -t 120"
+	fi
 fi
 
 #DEBHELPER#

Reply via email to