Mercurial > noffle
comparison debian/postrm @ 426:ee231af1b0d8 noffle
[svn] remove *.dpkg-* on purge
author | godisch |
---|---|
date | Fri, 20 Jun 2003 17:50:22 +0100 |
parents | c2fd00030991 |
children | bfdba1698a58 |
comparison
equal
deleted
inserted
replaced
425:c2fd00030991 | 426:ee231af1b0d8 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 # $Id: postrm 568 2003-06-20 16:48:28Z godisch $ | 2 # $Id: postrm 569 2003-06-20 16:50:22Z godisch $ |
3 | 3 |
4 set -e | 4 set -e |
5 | 5 |
6 if [ "$1" = remove -o "$1" = purge ]; then | 6 if [ "$1" = remove -o "$1" = purge ]; then |
7 rm -f /usr/share/emacs/site-lisp/gnus/noffle.elc | 7 rm -f /usr/share/emacs/site-lisp/gnus/noffle.elc |
10 | 10 |
11 if [ "$1" = purge ]; then | 11 if [ "$1" = purge ]; then |
12 update-inetd --remove "/usr/bin/noffle -r" | 12 update-inetd --remove "/usr/bin/noffle -r" |
13 update-rc.d noffle remove > /dev/null | 13 update-rc.d noffle remove > /dev/null |
14 rm -f /etc/noffle.conf /etc/noffle.conf.old \ | 14 rm -f /etc/noffle.conf /etc/noffle.conf.old \ |
15 /etc/news/noffle.conf /etc/news/noffle.conf.old \ | 15 /etc/news/noffle.conf /etc/news/noffle.conf.old /etc/news/noffle.conf.dpkg-* \ |
16 /etc/default/noffle /etc/default/noffle.old | 16 /etc/default/noffle /etc/default/noffle.old /etc/default/noffle.dpkg-* |
17 rm -rf /etc/noffle /var/spool/noffle | 17 rm -rf /etc/noffle /var/spool/noffle |
18 if [ -e /usr/share/debconf/confmodule ]; then | 18 if [ -e /usr/share/debconf/confmodule ]; then |
19 . /usr/share/debconf/confmodule | 19 . /usr/share/debconf/confmodule |
20 db_purge | 20 db_purge |
21 fi | 21 fi |