[Pkg-samba-maint] r1159 - trunk

Steve Langasek vorlon at costa.debian.org
Sat Sep 23 07:38:02 UTC 2006


Author: vorlon
Date: 2006-09-23 07:38:00 +0000 (Sat, 23 Sep 2006)
New Revision: 1159

Modified:
   trunk/changelog
   trunk/samba.postrm
Log:
Check for update-inetd on purge before trying to invoke it; closes:
#388606.



Modified: trunk/changelog
===================================================================
--- trunk/changelog	2006-09-19 18:14:56 UTC (rev 1158)
+++ trunk/changelog	2006-09-23 07:38:00 UTC (rev 1159)
@@ -10,6 +10,8 @@
   [ Steve Langasek ]
   * Change the Maintainer field at last to the mailing list... gives
     our spam rules some testing, in response to popular demand :)
+  * Check for update-inetd on purge before trying to invoke it;
+    closes: #388606.
 
   [ Peter Eisentraut ]
   * Make swat binNMU-safe by using ${source:Version} for dependency on
@@ -18,7 +20,7 @@
     winbind only delete files they know they're exclusive owners of.
     Closes: #370718.
 
- -- Peter Eisentraut <petere at debian.org>  Fri, 15 Sep 2006 15:53:26 +0200
+ -- Steve Langasek <vorlon at debian.org>  Sat, 23 Sep 2006 00:33:11 -0700
 
 samba (3.0.23c-1) unstable; urgency=low
 

Modified: trunk/samba.postrm
===================================================================
--- trunk/samba.postrm	2006-09-19 18:14:56 UTC (rev 1158)
+++ trunk/samba.postrm	2006-09-23 07:38:00 UTC (rev 1159)
@@ -11,8 +11,9 @@
 	rm -f /etc/default/samba
 
 	# Remove NetBIOS entries from /etc/inetd.conf
-	update-inetd --remove netbios-ssn
-
+	if [ -x /usr/sbin/update-inetd ]; then
+		update-inetd --remove netbios-ssn
+	fi
 else
 	# Not purging, do not remove NetBIOS entries from /etc/inetd.conf
 	update-inetd --disable netbios-ssn




More information about the Pkg-samba-maint mailing list