On Wed, Mar 14, 2007 at 10:20:55PM +0200, Mohammed Sameer wrote:

> Attached a patch that should fix that.

> diff -Naur xfingerd-0.6.orig/debian/xfingerd.postinst 
> xfingerd-0.6/debian/xfingerd.postinst
> --- xfingerd-0.6.orig/debian/xfingerd.postinst        2007-03-14 
> 22:18:57.000000000 +0200
> +++ xfingerd-0.6/debian/xfingerd.postinst     2007-03-14 21:48:24.000000000 
> +0200
> @@ -5,4 +5,10 @@
>  update-inetd --add 
> "finger\t\tstream\ttcp\tnowait\tnobody\t/usr/sbin/tcpd\t/usr/sbin/in.xfingerd"
>  update-inetd --enable finger
>  
> -invoke-rc.d inetd reload
> +if [ -x "/etc/init.d/rlinetd" ]; then
> +    invoke-rc.d rlinetd reload
> +elif [ -x "/etc/init.d/inetutils-inetd" ]; then
> +    invoke-rc.d inetutils-inetd reload
> +elif [ -x "/etc/init.d/openbsd-inetd" ]; then
> +    invoke-rc.d openbsd-inetd reload
> +fi


update-inetd already reloads the inetd config.  This code should just be
dropped, instead of duplicating lists across multiple packages.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to