annotate debian/prerm @ 415:a7dbefcafc43 noffle

[svn] removed useless call of invoke-rc.d
author godisch
date Fri, 20 Jun 2003 06:46:35 +0100
parents b9018588cc52
children e5bd838e0c27
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
415
a7dbefcafc43 [svn] removed useless call of invoke-rc.d
godisch
parents: 411
diff changeset
2 # $Id: prerm 558 2003-06-20 05:46:35Z 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
324
5ec39beae9c5 [svn] cleanup
godisch
parents: 312
diff changeset
6 if [ -e /usr/share/debconf/confmodule ]; then
402
6b4d9c2087f0 [svn] debconf update
godisch
parents: 360
diff changeset
7 . /usr/share/debconf/confmodule
411
b9018588cc52 [svn] fixed update-inetd
godisch
parents: 404
diff changeset
8 db_get noffle/debconf
b9018588cc52 [svn] fixed update-inetd
godisch
parents: 404
diff changeset
9 if [ "$RET" = true ]; then
b9018588cc52 [svn] fixed update-inetd
godisch
parents: 404
diff changeset
10 db_get noffle/port
b9018588cc52 [svn] fixed update-inetd
godisch
parents: 404
diff changeset
11 port="$RET"
b9018588cc52 [svn] fixed update-inetd
godisch
parents: 404
diff changeset
12 if [ -z "$port" -o "$port" = 119 ]; then
b9018588cc52 [svn] fixed update-inetd
godisch
parents: 404
diff changeset
13 port=nntp
b9018588cc52 [svn] fixed update-inetd
godisch
parents: 404
diff changeset
14 fi
b9018588cc52 [svn] fixed update-inetd
godisch
parents: 404
diff changeset
15 update-inetd --disable "$port"
402
6b4d9c2087f0 [svn] debconf update
godisch
parents: 360
diff changeset
16 fi
6b4d9c2087f0 [svn] debconf update
godisch
parents: 360
diff changeset
17 db_stop
324
5ec39beae9c5 [svn] cleanup
godisch
parents: 312
diff changeset
18 fi
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
19
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
20 exit 0