view debian/prerm @ 417:e5153104fbd9 noffle

[svn] typo
author godisch
date Fri, 20 Jun 2003 06:48:04 +0100
parents a7dbefcafc43
children e5bd838e0c27
line wrap: on
line source

#!/bin/sh
# $Id: prerm 558 2003-06-20 05:46:35Z godisch $

set -e

if [ -e /usr/share/debconf/confmodule ]; then
	. /usr/share/debconf/confmodule
	db_get noffle/debconf
	if [ "$RET" = true ]; then
		db_get noffle/port
		port="$RET"
		if [ -z "$port" -o "$port" = 119 ]; then
			port=nntp
		fi
		update-inetd --disable "$port"
	fi
	db_stop
fi

exit 0