Mercurial > noffle
comparison debian/prerm @ 360:a23b37308063 noffle
[svn] || true cleanup
author | godisch |
---|---|
date | Sat, 29 Mar 2003 06:57:20 +0000 |
parents | 56c3a43af1d5 |
children | 6b4d9c2087f0 |
comparison
equal
deleted
inserted
replaced
359:d1007cf6a49c | 360:a23b37308063 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 # $Id: prerm 465 2003-02-25 19:15:27Z godisch $ | 2 # $Id: prerm 499 2003-03-29 06:57:20Z 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 elif [ -x /etc/init.d/noffle ]; then | 10 elif [ -x /etc/init.d/noffle ]; then |
11 /etc/init.d/noffle stop | 11 /etc/init.d/noffle stop |
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 |
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 |