annotate debian/prerm @ 482:a04c52f87b6e noffle

[svn] * docs/noffle.1,src/database.h,src/database.c,src/noffle.c,src/server.c: Add new '-U, --uninteresting' option. This removes an article from the list of requested articles and removes its INTERESTING marker.
author bears
date Thu, 14 Oct 2004 00:26:48 +0100
parents 18b3c63bf7dc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
1 #!/bin/sh
422
18b3c63bf7dc [svn] fixed update-inetd
godisch
parents: 421
diff changeset
2 # $Id: prerm 565 2003-06-20 06:35:55Z godisch $
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
3
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
4 set -e
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
5
421
09e2729b462d [svn] fixed update-inetd
godisch
parents: 420
diff changeset
6 if [ "$1" = remove -o "$1" = deconfigure ]; then
422
18b3c63bf7dc [svn] fixed update-inetd
godisch
parents: 421
diff changeset
7 port="`grep "/usr/bin/noffle -r" /etc/inetd.conf 2> /dev/null | sed 's/[[:space:]].*$//'`" || true
421
09e2729b462d [svn] fixed update-inetd
godisch
parents: 420
diff changeset
8 if [ "$port" ]; then
09e2729b462d [svn] fixed update-inetd
godisch
parents: 420
diff changeset
9 update-inetd --disable "$port"
09e2729b462d [svn] fixed update-inetd
godisch
parents: 420
diff changeset
10 fi
324
5ec39beae9c5 [svn] cleanup
godisch
parents: 312
diff changeset
11 fi
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
12
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
13 exit 0