Re: X autoconfiguration
On Wed, 5 Dec 2001 19:03:00 +0100
Nils Rennebarth <nils@ipe.uni-stuttgart.de> wrote:
> Reminds me of something bothering me for quite a while:
> When purge a package
> dpkg --purge <package>
> I expect that nothing from this package or its configuration remains.
>
> However entries to the debconf database remain and some packages won't even
> ask some questions on installation they normally would because the answers
> are already there.
hmmm when postrm is called with 'purge' it should call
db_purge, that's on debconf's tutorial IIRC
my postrm on penguineyes:
-----------------------------------------------------------------------------[~/debian/packs/prozgui/prozgui-2.0.4beta2]
[kov]@[couve] $ cat ../../penguineyes/penguineyes-0.10/debian/penguineyes.postrm
#!/bin/bash
if [ "$1" = "purge" -a -e /usr/share/debconf/confmodule ]; then
# Source debconf library. . /usr/share/debconf/confmodule # Remove my changes to the db. db_purge
fi
<snip>
-----------------------------------------------------------------------------
[]s!
--
Gustavo Noronha Silva - kov <http://www.metainfo.org/kov>
*---------* -+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+-+
| .''`. | Debian GNU/Linux: <http://www.debian.org> |
| : :' : + Debian BR.......: <http://debian-br.cipsga.org.br>+
| `. `'` + Q: "Why did the chicken cross the road?" +
| `- | A: "Upstream's decision." -- hmh |
*---------* -+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+-+
Reply to: