comparison debian/postrm @ 454:0eb9c1ada87b noffle

[svn] added removal of /var/lock/noffle
author godisch
date Wed, 25 Jun 2003 17:55:30 +0100
parents bfdba1698a58
children 7e0c7dd29d53
comparison
equal deleted inserted replaced
453:da556fe134c3 454:0eb9c1ada87b
1 #!/bin/sh 1 #!/bin/sh
2 # $Id: postrm 587 2003-06-25 15:58:44Z godisch $ 2 # $Id: postrm 597 2003-06-25 16:55:30Z 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/spool/noffle 17 rm -rf /etc/news/noffle.old /etc/noffle /var/lock/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