annotate debian/postrm @ 354:5b6f2f3e766f noffle

[svn] updated dependencies
author godisch
date Sun, 23 Mar 2003 13:40:32 +0000
parents c36eb2596531
children 794030e45053
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
325
c36eb2596531 [svn] fixed inclusion of db_*
godisch
parents: 324
diff changeset
2 # $Id: postrm 460 2003-02-23 15:16:46Z godisch $
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
3
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
4 set -e
325
c36eb2596531 [svn] fixed inclusion of db_*
godisch
parents: 324
diff changeset
5 . /usr/share/debconf/confmodule
c36eb2596531 [svn] fixed inclusion of db_*
godisch
parents: 324
diff changeset
6 db_version 2.0
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
7
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
8 server_config=/etc/news/noffle.conf
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
9 debian_config=/etc/default/noffle
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
10
324
5ec39beae9c5 [svn] cleanup
godisch
parents: 317
diff changeset
11 if [ "$1" = remove -o "$1" = purge ]; then
311
7c6035f8656f [svn] added removal of noffle.elc, code cleanup
godisch
parents: 309
diff changeset
12 rm -f /usr/share/emacs/site-lisp/gnus/noffle.elc
314
e4687dc19520 [svn] added removal of /var/lock/noffle on remove
godisch
parents: 313
diff changeset
13 rm -rf /var/lock/noffle
324
5ec39beae9c5 [svn] cleanup
godisch
parents: 317
diff changeset
14 fi
5ec39beae9c5 [svn] cleanup
godisch
parents: 317
diff changeset
15
5ec39beae9c5 [svn] cleanup
godisch
parents: 317
diff changeset
16 if [ "$1" = purge ]; then
311
7c6035f8656f [svn] added removal of noffle.elc, code cleanup
godisch
parents: 309
diff changeset
17 update-inetd --remove "/usr/bin/noffle -r"
317
eef64bccd0e2 [svn] last updates for 1.1.4-2
godisch
parents: 314
diff changeset
18 update-rc.d noffle remove > /dev/null
324
5ec39beae9c5 [svn] cleanup
godisch
parents: 317
diff changeset
19 rm -f /etc/noffle.conf /etc/noffle.conf.old \
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
20 $server_config $server_config.old \
324
5ec39beae9c5 [svn] cleanup
godisch
parents: 317
diff changeset
21 $debian_config $debian_config.old
5ec39beae9c5 [svn] cleanup
godisch
parents: 317
diff changeset
22 rm -rf /etc/noffle /var/spool/noffle
325
c36eb2596531 [svn] fixed inclusion of db_*
godisch
parents: 324
diff changeset
23 db_purge
324
5ec39beae9c5 [svn] cleanup
godisch
parents: 317
diff changeset
24 fi
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
25
325
c36eb2596531 [svn] fixed inclusion of db_*
godisch
parents: 324
diff changeset
26 db_stop
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
27 exit 0