Mercurial > noffle
comparison debian/prerm @ 330:56c3a43af1d5 noffle
[svn] small bugfixes
author | godisch |
---|---|
date | Tue, 25 Feb 2003 19:15:27 +0000 |
parents | c36eb2596531 |
children | a23b37308063 |
comparison
equal
deleted
inserted
replaced
329:95f382346e75 | 330:56c3a43af1d5 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 # $Id: prerm 460 2003-02-23 15:16:46Z godisch $ | 2 # $Id: prerm 465 2003-02-25 19:15:27Z 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 |
12 fi | 12 fi |
13 | 13 |
14 if [ -e /usr/share/debconf/confmodule ]; then | 14 if [ -e /usr/share/debconf/confmodule ]; then |
15 db_get noffle/port || RET="" | 15 db_get noffle/port || RET="" |
16 port="$RET" | 16 port="$RET" |
17 [ -z "$port" -o "$port" = 119 ] && port=nntp | 17 [ -z "$port" -o "$port" = 119 ] && port=nntp || : |
18 update-inetd --disable $port | 18 update-inetd --disable $port |
19 fi | 19 fi |
20 | 20 |
21 db_stop | 21 db_stop |
22 exit 0 | 22 exit 0 |