Mercurial > noffle
view debian/postrm @ 317:eef64bccd0e2 noffle
[svn] last updates for 1.1.4-2
author | godisch |
---|---|
date | Thu, 20 Feb 2003 10:57:54 +0000 |
parents | e4687dc19520 |
children | 5ec39beae9c5 |
line wrap: on
line source
#!/bin/sh # $Id: postrm 451 2003-02-20 10:57:54Z 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 rm -rf /var/lock/noffle ;; purge) update-inetd --remove "/usr/bin/noffle -r" update-rc.d noffle remove > /dev/null 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