diff debian/postinst @ 419:e5bd838e0c27 noffle

[svn] fixed update-inetd
author godisch
date Fri, 20 Jun 2003 07:05:22 +0100
parents cb18c7d41cc5
children c2fd00030991
line wrap: on
line diff
--- a/debian/postinst	Fri Jun 20 06:59:52 2003 +0100
+++ b/debian/postinst	Fri Jun 20 07:05:22 2003 +0100
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: postinst 561 2003-06-20 05:59:52Z godisch $
+# $Id: postinst 562 2003-06-20 06:05:22Z godisch $
 
 set -e
 
@@ -108,7 +108,7 @@
 		# update-inetd will silently fail if nntp is already occupied
 		update-inetd --group MAIL --add "nntp\tstream\ttcp\tnowait\tnews\t/usr/sbin/tcpd /usr/bin/noffle -r"
 		if grep -q "^nntp.*/usr/bin/noffle -r"; then
-			update-inetd --disable "$port"
+			update-inetd --disable nntp
 		fi
 	fi
 fi