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

idd-guest at alioth.debian.org idd-guest at alioth.debian.org
Tue Jun 19 21:20:07 UTC 2012


tags 658245 pending
thanks

Author: idd-guest
Date: 2012-06-19 21:20:06 +0000 (Tue, 19 Jun 2012)
New Revision: 4125

Modified:
   trunk/samba/debian/changelog
   trunk/samba/debian/swat.postinst
Log:
Only enable swat in inetd.conf on first install. Closes: #658245


Modified: trunk/samba/debian/changelog
===================================================================
--- trunk/samba/debian/changelog	2012-06-19 19:18:07 UTC (rev 4124)
+++ trunk/samba/debian/changelog	2012-06-19 21:20:06 UTC (rev 4125)
@@ -1,3 +1,9 @@
+samba (2:3.6.5-8) UNRELEASED; urgency=low
+
+  * Only enable swat in inetd.conf on first install. Closes: #658245 
+
+ -- Ivo De Decker <ivo.dedecker at ugent.be>  Tue, 19 Jun 2012 23:11:23 +0200
+
 samba (2:3.6.5-7) unstable; urgency=low
 
   * Allow installing smbclient package together with newer versions of

Modified: trunk/samba/debian/swat.postinst
===================================================================
--- trunk/samba/debian/swat.postinst	2012-06-19 19:18:07 UTC (rev 4124)
+++ trunk/samba/debian/swat.postinst	2012-06-19 21:20:06 UTC (rev 4125)
@@ -4,8 +4,11 @@
 action="$1"
 oldversion="$2"
 
-# Set up swat
-update-inetd --group OTHER --add \
- 'swat\t\tstream\ttcp\tnowait.400\troot\t/usr/sbin/tcpd\t/usr/sbin/swat'
+if [ -z "$oldversion" ]
+then
+# Set up swat on first install
+	update-inetd --group OTHER --add \
+	 'swat\t\tstream\ttcp\tnowait.400\troot\t/usr/sbin/tcpd\t/usr/sbin/swat'
+fi
 
 #DEBHELPER#





More information about the Pkg-samba-maint mailing list