annotate debian/postrm @ 439:e97ef1e08970 noffle

[svn] * NEWS: Update for 1.1.5.
author bears
date Wed, 25 Jun 2003 10:55:16 +0100
parents ee231af1b0d8
children bfdba1698a58
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
426
ee231af1b0d8 [svn] remove *.dpkg-* on purge
godisch
parents: 425
diff changeset
2 # $Id: postrm 569 2003-06-20 16:50:22Z 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: 317
diff changeset
6 if [ "$1" = remove -o "$1" = purge ]; then
311
7c6035f8656f [svn] added removal of noffle.elc, code cleanup
godisch
parents: 309
diff changeset
7 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
8 rm -rf /var/lock/noffle
324
5ec39beae9c5 [svn] cleanup
godisch
parents: 317
diff changeset
9 fi
5ec39beae9c5 [svn] cleanup
godisch
parents: 317
diff changeset
10
5ec39beae9c5 [svn] cleanup
godisch
parents: 317
diff changeset
11 if [ "$1" = purge ]; then
311
7c6035f8656f [svn] added removal of noffle.elc, code cleanup
godisch
parents: 309
diff changeset
12 update-inetd --remove "/usr/bin/noffle -r"
317
eef64bccd0e2 [svn] last updates for 1.1.4-2
godisch
parents: 314
diff changeset
13 update-rc.d noffle remove > /dev/null
324
5ec39beae9c5 [svn] cleanup
godisch
parents: 317
diff changeset
14 rm -f /etc/noffle.conf /etc/noffle.conf.old \
426
ee231af1b0d8 [svn] remove *.dpkg-* on purge
godisch
parents: 425
diff changeset
15 /etc/news/noffle.conf /etc/news/noffle.conf.old /etc/news/noffle.conf.dpkg-* \
ee231af1b0d8 [svn] remove *.dpkg-* on purge
godisch
parents: 425
diff changeset
16 /etc/default/noffle /etc/default/noffle.old /etc/default/noffle.dpkg-*
324
5ec39beae9c5 [svn] cleanup
godisch
parents: 317
diff changeset
17 rm -rf /etc/noffle /var/spool/noffle
392
794030e45053 [svn] fixed debconf in handling in postrm
godisch
parents: 325
diff changeset
18 if [ -e /usr/share/debconf/confmodule ]; then
794030e45053 [svn] fixed debconf in handling in postrm
godisch
parents: 325
diff changeset
19 . /usr/share/debconf/confmodule
794030e45053 [svn] fixed debconf in handling in postrm
godisch
parents: 325
diff changeset
20 db_purge
794030e45053 [svn] fixed debconf in handling in postrm
godisch
parents: 325
diff changeset
21 fi
425
c2fd00030991 [svn] added preliminary ucf support
godisch
parents: 392
diff changeset
22 ucf --purge /etc/default/noffle < /dev/tty
c2fd00030991 [svn] added preliminary ucf support
godisch
parents: 392
diff changeset
23 ucf --purge /etc/news/noffle.conf < /dev/tty
324
5ec39beae9c5 [svn] cleanup
godisch
parents: 317
diff changeset
24 fi
301
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
25
3b5b7f3fd71f [svn] initial debian/ upload
godisch
parents:
diff changeset
26 exit 0