comparison debian/postrm @ 456:7e0c7dd29d53 noffle

[svn] removed doubled lock dir removal
author godisch
date Wed, 25 Jun 2003 18:00:10 +0100
parents 0eb9c1ada87b
children e769484a87c3
comparison
equal deleted inserted replaced
455:57fc18375ad6 456:7e0c7dd29d53
1 #!/bin/sh 1 #!/bin/sh
2 # $Id: postrm 597 2003-06-25 16:55:30Z godisch $ 2 # $Id: postrm 599 2003-06-25 17:00:10Z godisch $
3 3
4 set -e 4 set -e
5 5
6 if [ "$1" = remove -o "$1" = purge ]; then 6 if [ "$1" = remove -o "$1" = purge ]; then
7 rm -f /usr/share/emacs/site-lisp/gnus/noffle.elc 7 rm -f /usr/share/emacs/site-lisp/gnus/noffle.elc
12 update-inetd --remove "/usr/bin/noffle -r" 12 update-inetd --remove "/usr/bin/noffle -r"
13 update-rc.d noffle remove > /dev/null 13 update-rc.d noffle remove > /dev/null
14 rm -f /etc/noffle.conf /etc/noffle.conf.old \ 14 rm -f /etc/noffle.conf /etc/noffle.conf.old \
15 /etc/news/noffle.conf /etc/news/noffle.conf.old /etc/news/noffle.conf.dpkg-* \ 15 /etc/news/noffle.conf /etc/news/noffle.conf.old /etc/news/noffle.conf.dpkg-* \
16 /etc/default/noffle /etc/default/noffle.old /etc/default/noffle.dpkg-* 16 /etc/default/noffle /etc/default/noffle.old /etc/default/noffle.dpkg-*
17 rm -rf /etc/news/noffle.old /etc/noffle /var/lock/noffle /var/spool/noffle 17 rm -rf /etc/news/noffle.old /etc/noffle /var/spool/noffle
18 if [ -e /usr/share/debconf/confmodule ]; then 18 if [ -e /usr/share/debconf/confmodule ]; then
19 . /usr/share/debconf/confmodule 19 . /usr/share/debconf/confmodule
20 db_purge 20 db_purge
21 fi 21 fi
22 ucf --purge /etc/default/noffle < /dev/tty 22 ucf --purge /etc/default/noffle < /dev/tty