annotate debian/postrm @ 464:d9035d08fe51 noffle

[svn] * src/fetch.c: Log failed posting that we can't mail back to the sender or where sending fails to <Noffle spool>/failed.posting.
author bears
date Wed, 23 Jul 2003 10:32:25 +0100
parents 7e0c7dd29d53
children e769484a87c3
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
456
7e0c7dd29d53 [svn] removed doubled lock dir removal
godisch
parents: 454
diff changeset
2 # $Id: postrm 599 2003-06-25 17:00:10Z 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-*
456
7e0c7dd29d53 [svn] removed doubled lock dir removal
godisch
parents: 454
diff changeset
17 rm -rf /etc/news/noffle.old /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