comparison debian/prerm @ 301:3b5b7f3fd71f noffle

[svn] initial debian/ upload
author godisch
date Fri, 14 Feb 2003 13:54:32 +0000
parents
children 85bf9f705e70
comparison
equal deleted inserted replaced
300:994e9ab2c24f 301:3b5b7f3fd71f
1 #!/bin/sh
2 # $Id: prerm 434 2003-02-14 13:54:32Z godisch $
3
4 set -e
5 . /usr/share/debconf/confmodule
6 db_version 2.0
7
8 db_get noffle/port || RET=''
9 port="$RET"
10 [ -z "$port" -o "$port" = 119 ] && port=nntp
11
12 case "$1" in
13 remove|upgrade|deconfigure)
14 echo "Disabling inet.d entry for noffle..."
15 update-inetd --disable $port || :
16 ;;
17 failed-upgrade)
18 ;;
19 *)
20 echo "prerm called with unknown argument '$1'" >&2
21 exit 1
22 ;;
23 esac
24
25 exit 0