Mercurial > noffle
changeset 311:7c6035f8656f noffle
[svn] added removal of noffle.elc, code cleanup
author | godisch |
---|---|
date | Wed, 19 Feb 2003 19:04:45 +0000 |
parents | 150e75d3c785 |
children | 85bf9f705e70 |
files | debian/postrm |
diffstat | 1 files changed, 9 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/debian/postrm Wed Feb 19 07:36:16 2003 +0000 +++ b/debian/postrm Wed Feb 19 19:04:45 2003 +0000 @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: postrm 443 2003-02-19 06:26:09Z godisch $ +# $Id: postrm 445 2003-02-19 19:04:45Z godisch $ set -e . /usr/share/debconf/confmodule @@ -9,15 +9,17 @@ debian_config=/etc/default/noffle case "$1" in +remove) + rm -f /usr/share/emacs/site-lisp/gnus/noffle.elc + ;; purge) - update-inetd --remove "/usr/bin/noffle -r" || : - echo "Removing /var/spool/noffle and contents..." - rm -rf /etc/noffle \ - /etc/noffle.conf /etc/noffle.conf.old \ + update-inetd --remove "/usr/bin/noffle -r" + update-rc.d noffle remove + rm -f /usr/share/emacs/site-lisp/gnus/noffle.elc \ $server_config $server_config.old \ $debian_config $debian_config.old \ - /var/spool/noffle /var/lock/noffle || : - update-rc.d noffle remove > /dev/null + /etc/noffle.conf /etc/noffle.conf.old + rm -rf /etc/noffle /var/spool/noffle /var/lock/noffle db_purge ;; remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)