Mercurial > noffle
view debian/postrm @ 313:6e92a005ba27 noffle
[svn] cleanup bugfix
author | godisch |
---|---|
date | Wed, 19 Feb 2003 19:13:50 +0000 |
parents | 7c6035f8656f |
children | e4687dc19520 |
line wrap: on
line source
#!/bin/sh # $Id: postrm 447 2003-02-19 19:13:50Z godisch $ set -e . /usr/share/debconf/confmodule db_version 2.0 server_config=/etc/news/noffle.conf 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" 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 \ /etc/noffle.conf /etc/noffle.conf.old rm -rf /etc/noffle /var/spool/noffle /var/lock/noffle db_purge ;; upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument '$1'" >&2 exit 1 ;; esac exit 0