comparison debian/postrm @ 468:84c15e2195b5 noffle

[svn] fixup
author godisch
date Mon, 11 Aug 2003 16:23:50 +0100
parents e769484a87c3
children a5cb498bcbed
comparison
equal deleted inserted replaced
467:69d28be06362 468:84c15e2195b5
1 #!/bin/sh 1 #!/bin/sh
2 # $Id: postrm 611 2003-07-26 07:37:07Z godisch $ 2 # $Id: postrm 613 2003-08-11 15:23:50Z 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
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 /etc/default/noffle < /dev/tty
22 ucf --purge /etc/news/noffle.conf < /dev/tty 22 ucf --purge /etc/news/noffle.conf < /dev/tty
23 rmdir --ignore-fail-on-non-empty /etc/news/noffle /etc/news/noffle.old 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