view debian/prerm @ 476:29cccddfc307 noffle

[svn] * Makefile.am,Makefile.in: Remove unnecessary install option -D and relace all user.group params in chown with the more modern user:group. Rerun automake. MacOS X doesn't have -D on its install and its chown whinges about user.group. Thanks again to Andre Berger.
author bears
date Tue, 16 Mar 2004 11:44:43 +0000
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