[Pkg-mailman-hackers] What to remove on purge

Thijs Kinkhorst thijs at debian.org
Thu May 31 15:24:25 UTC 2007


On Thursday 31 May 2007 17:20, Lionel Elie Mamane wrote:
> But an _optional_ "rm -rf /var/lib/mailman", after we asked the user
> whether he wants that, makes sense. It's what lpd does, so I see it as
> the traditional answer to that question: ask the user!

The larger problem here is that there's no general definition in Debian of 
what "purge" ought to mean. This is where some kind of Policy would come in 
handy.

I understand your point about asking the user. For me it's not really 
necessary and I just expect every trace of a program to go away when I purge 
it.

Please feel free to implement such a question though.

> Is debconf essential? In other words, can we use it in a postrm?

No, we can't. We can however test for it, if it's present ask+remove(or not of 
course), and if it's not present do nothing.


Thijs



More information about the Pkg-mailman-hackers mailing list