annotate debian/prerm @ 477:48be71391b9d
noffle
[svn] * docs/noffle.1,src/noffle.c: When outputing the entire message base
using 'noffle --article all', ditch the previous casual header for each
article and switch to the 'rnews' format.
author |
bears |
date |
Fri, 09 Jul 2004 16:27:20 +0100 |
parents |
18b3c63bf7dc |
children |
|
rev |
line source |
301
|
1 #!/bin/sh
|
422
|
2 # $Id: prerm 565 2003-06-20 06:35:55Z godisch $
|
301
|
3
|
|
4 set -e
|
|
5
|
421
|
6 if [ "$1" = remove -o "$1" = deconfigure ]; then
|
422
|
7 port="`grep "/usr/bin/noffle -r" /etc/inetd.conf 2> /dev/null | sed 's/[[:space:]].*$//'`" || true
|
421
|
8 if [ "$port" ]; then
|
|
9 update-inetd --disable "$port"
|
|
10 fi
|
324
|
11 fi
|
301
|
12
|
|
13 exit 0
|