Mercurial > noffle
diff debian/postrm @ 425:c2fd00030991 noffle
[svn] added preliminary ucf support
author | godisch |
---|---|
date | Fri, 20 Jun 2003 17:48:28 +0100 |
parents | 794030e45053 |
children | ee231af1b0d8 |
line wrap: on
line diff
--- a/debian/postrm Fri Jun 20 16:58:53 2003 +0100 +++ b/debian/postrm Fri Jun 20 17:48:28 2003 +0100 @@ -1,11 +1,8 @@ #!/bin/sh -# $Id: postrm 534 2003-05-24 06:05:53Z godisch $ +# $Id: postrm 568 2003-06-20 16:48:28Z godisch $ set -e -server_config=/etc/news/noffle.conf -debian_config=/etc/default/noffle - if [ "$1" = remove -o "$1" = purge ]; then rm -f /usr/share/emacs/site-lisp/gnus/noffle.elc rm -rf /var/lock/noffle @@ -15,13 +12,15 @@ update-inetd --remove "/usr/bin/noffle -r" update-rc.d noffle remove > /dev/null rm -f /etc/noffle.conf /etc/noffle.conf.old \ - $server_config $server_config.old \ - $debian_config $debian_config.old + /etc/news/noffle.conf /etc/news/noffle.conf.old \ + /etc/default/noffle /etc/default/noffle.old rm -rf /etc/noffle /var/spool/noffle if [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule db_purge fi + ucf --purge /etc/default/noffle < /dev/tty + ucf --purge /etc/news/noffle.conf < /dev/tty fi exit 0