annotate debian/postrm @ 455:57fc18375ad6 noffle

[svn] removed output delay
author godisch
date Wed, 25 Jun 2003 17:58:46 +0100
parents 0eb9c1ada87b
children 7e0c7dd29d53
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
454
0eb9c1ada87b [svn] added removal of /var/lock/noffle
godisch
parents: 444
diff changeset
2 # $Id: postrm 597 2003-06-25 16:55:30Z 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-*
454
0eb9c1ada87b [svn] added removal of /var/lock/noffle
godisch
parents: 444
diff changeset
17 rm -rf /etc/news/noffle.old /etc/noffle /var/lock/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