view debian/prerm @ 436:4426f4dc6e8b noffle

[svn] * src/protocol.c: Reading of long lines broken in Prt_getLn(). Fix and change to split long lines rather than truncate. Also change Prt_putTxtBuf() to work properly with long lines by removing all fixed buffer dependencies.
author bears
date Wed, 25 Jun 2003 10:40:02 +0100
parents 18b3c63bf7dc
children
line wrap: on
line source

#!/bin/sh
# $Id: prerm 565 2003-06-20 06:35:55Z godisch $

set -e

if [ "$1" = remove -o "$1" = deconfigure ]; then
	port="`grep "/usr/bin/noffle -r" /etc/inetd.conf 2> /dev/null | sed 's/[[:space:]].*$//'`" || true
	if [ "$port" ]; then
		update-inetd --disable "$port"
	fi
fi

exit 0