Mercurial > noffle
view debian/postrm @ 477:48be71391b9d noffle
[svn] * docs/noffle.1,src/noffle.c: When outputing the entire message base
using 'noffle --article all', ditch the previous casual header for each
article and switch to the 'rnews' format.
author | bears |
---|---|
date | Fri, 09 Jul 2004 16:27:20 +0100 |
parents | 84c15e2195b5 |
children | a5cb498bcbed |
line wrap: on
line source
#!/bin/sh # $Id: postrm 613 2003-08-11 15:23:50Z godisch $ set -e if [ "$1" = remove -o "$1" = purge ]; then rm -f /usr/share/emacs/site-lisp/gnus/noffle.elc rm -rf /var/lock/noffle fi if [ "$1" = purge ]; then update-inetd --remove "/usr/bin/noffle -r" update-rc.d noffle remove > /dev/null rm -f /etc/noffle.conf /etc/noffle.conf.old \ /etc/news/noffle.conf /etc/news/noffle.conf.old /etc/news/noffle.conf.dpkg-* \ /etc/default/noffle /etc/default/noffle.old /etc/default/noffle.dpkg-* 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 rmdir --ignore-fail-on-non-empty /etc/news/noffle /etc/news/noffle.old 2> /dev/null || true rm -rf /var/spool/noffle fi exit 0