[Pkg-samba-maint] r3015 - trunk/samba/debian

vorlon at alioth.debian.org vorlon at alioth.debian.org
Tue Sep 8 02:01:59 UTC 2009


Author: vorlon
Date: 2009-09-08 02:01:59 +0000 (Tue, 08 Sep 2009)
New Revision: 3015

Modified:
   trunk/samba/debian/changelog
   trunk/samba/debian/swat.postrm
Log:
Change swat update-inetd call to use --remove only on purge,
and --disable on removal.

Modified: trunk/samba/debian/changelog
===================================================================
--- trunk/samba/debian/changelog	2009-09-06 21:28:22 UTC (rev 3014)
+++ trunk/samba/debian/changelog	2009-09-08 02:01:59 UTC (rev 3015)
@@ -22,6 +22,10 @@
   [ Christian Perrier ]
   * Use DEP-3 for patches meta-information
 
+  [ Steve Langasek ]
+  * Change swat update-inetd call to use --remove only on purge,
+    and --disable on removal.
+
  -- Steve Langasek <vorlon at debian.org>  Sun, 23 Aug 2009 22:35:16 -0700
 
 samba (2:3.4.0-3) unstable; urgency=low

Modified: trunk/samba/debian/swat.postrm
===================================================================
--- trunk/samba/debian/swat.postrm	2009-09-06 21:28:22 UTC (rev 3014)
+++ trunk/samba/debian/swat.postrm	2009-09-08 02:01:59 UTC (rev 3015)
@@ -4,9 +4,12 @@
 
 case "$1" in
 	purge)
+		if [ -x /usr/sbin/update-inetd ]; then
+			update-inetd --remove swat
+		fi
 		;;
 	remove)
-		update-inetd --remove swat
+		update-inetd --disable swat
 		;;
 	upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
 		;;




More information about the Pkg-samba-maint mailing list