install.
* Support reconfigure in the kftgtd postinst script.
kftgt (1.13-2) unstable; urgency=low
+ * Only try to add the inetd.conf entry for kftgtd on the initial
+ install.
+ * Support reconfigure in the kftgtd postinst script.
* Recommend openbsd-inetd | inet-superserver for kftgtd.
* Update debhelper compatibility level to V5.
- -- Russ Allbery <rra@debian.org> Fri, 13 Apr 2007 18:37:24 -0700
+ -- Russ Allbery <rra@debian.org> Fri, 13 Apr 2007 18:46:02 -0700
kftgt (1.13-1) unstable; urgency=low
-#! /bin/sh -e
+#! /bin/sh
-if [ "$1" = configure ] ; then
- update-inetd --add \
+set -e
+
+if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then
+ # Only try to add the inetd line on an initial installation.
+ if [ -z "$2" ] || [ x"$2" = x"<unknown>" ] ; then
+ update-inetd --add \
'2109\tstream\ttcp\tnowait\troot\t/usr/sbin/tcpd\t/usr/sbin/kftgtd'
+ fi
fi
#DEBHELPER#
+
+exit 0
-#! /bin/sh -e
+#! /bin/sh
+
+set -e
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ] ; then
update-inetd --remove '2109.*/usr/sbin/kftgtd'
fi
#DEBHELPER#
+
+exit 0