git-svn-id: svn://svn.debian.org/svn/pkg-samba/trunk/samba@4125
fc4039ab-9d04-0410-8cac-
899223bdd6b0
+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@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
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#