Mercurial > noffle
comparison debian/postrm @ 486:a5cb498bcbed noffle
[svn] *** empty log message ***
author | godisch |
---|---|
date | Sun, 28 Nov 2004 09:46:27 +0000 |
parents | 84c15e2195b5 |
children |
comparison
equal
deleted
inserted
replaced
485:8d6a9b040583 | 486:a5cb498bcbed |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 # $Id: postrm 613 2003-08-11 15:23:50Z godisch $ | 2 # $Id: postrm 633 2004-11-28 09:46:27Z 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 |
16 /etc/default/noffle /etc/default/noffle.old /etc/default/noffle.dpkg-* | 16 /etc/default/noffle /etc/default/noffle.old /etc/default/noffle.dpkg-* |
17 if [ -e /usr/share/debconf/confmodule ]; then | 17 if [ -e /usr/share/debconf/confmodule ]; then |
18 . /usr/share/debconf/confmodule | 18 . /usr/share/debconf/confmodule |
19 db_purge | 19 db_purge |
20 fi | 20 fi |
21 ucf --purge /etc/default/noffle < /dev/tty | 21 ucf --purge --debconf-ok /etc/default/noffle |
22 ucf --purge /etc/news/noffle.conf < /dev/tty | 22 ucf --purge --debconf-ok /etc/news/noffle.conf |
23 rmdir --ignore-fail-on-non-empty /etc/news/noffle /etc/news/noffle.old 2> /dev/null || true | 23 rmdir --ignore-fail-on-non-empty /etc/news/noffle /etc/news/noffle.old 2> /dev/null || true |
24 rm -rf /var/spool/noffle | 24 rm -rf /var/spool/noffle |
25 fi | 25 fi |
26 | 26 |
27 exit 0 | 27 exit 0 |