Mercurial > noffle
comparison debian/prerm @ 312:85bf9f705e70 noffle
[svn] minor code cleanup
author | godisch |
---|---|
date | Wed, 19 Feb 2003 19:06:45 +0000 |
parents | 3b5b7f3fd71f |
children | 5ec39beae9c5 |
comparison
equal
deleted
inserted
replaced
311:7c6035f8656f | 312:85bf9f705e70 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 # $Id: prerm 434 2003-02-14 13:54:32Z godisch $ | 2 # $Id: prerm 446 2003-02-19 19:06:45Z godisch $ |
3 | 3 |
4 set -e | 4 set -e |
5 . /usr/share/debconf/confmodule | 5 . /usr/share/debconf/confmodule |
6 db_version 2.0 | 6 db_version 2.0 |
7 | 7 |
10 [ -z "$port" -o "$port" = 119 ] && port=nntp | 10 [ -z "$port" -o "$port" = 119 ] && port=nntp |
11 | 11 |
12 case "$1" in | 12 case "$1" in |
13 remove|upgrade|deconfigure) | 13 remove|upgrade|deconfigure) |
14 echo "Disabling inet.d entry for noffle..." | 14 echo "Disabling inet.d entry for noffle..." |
15 update-inetd --disable $port || : | 15 update-inetd --disable $port |
16 ;; | 16 ;; |
17 failed-upgrade) | 17 failed-upgrade) |
18 ;; | 18 ;; |
19 *) | 19 *) |
20 echo "prerm called with unknown argument '$1'" >&2 | 20 echo "prerm called with unknown argument '$1'" >&2 |