[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#529473: ITP: openoffice.org-altsearch -- Alternative Find and Replace for Writer



Rene Engelhard kirjoitti:
> But what I do like is the "missing" preinst and doing the unregistering
> in prerm. Saves us pre-dependencies...
> 
> AFAIK all extensions so far do it in preinst. I have no idea anymore, though,
> why...

In openofffice.org-voikko unregistering is done both in prerm and
preinst. Prerm is handling remove and preinst upgrade & install.

The point is/was that user might have self installed ooo-voikko, so also
in the install case OOo should unregister any possible previous voikko
extensions before registering the new one. I'm not sure if it's
pointless for a Debian package to support this case or not.

But maybe anyway unregistering on upgrade should be done in prerm, not
preinst, for all packages? Or is there any possible point in having the
upgrade handled in preinst instead?

-Timo

-- 
http://iki.fi/tjyrinki/


Reply to: