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

Re: calling update-menus from prerm



On Thu, Feb 09, 2006 at 03:32:04PM -0800, Michael Stilkerich wrote:
> Hi,
> 
> I got yet another question.
> I'd like to call an
> 	update-menus --menumethod mymethod --remove
> 
> in the prerm script in order to remove any files generated
> by the menu-method. I can't do this in the postrm script
> since I need another script of the package that is not a
> configuration file.
> 
> Lintian complains that update-menus should probably be called
> from postrm, which is not possible in my case, but does not
> give an explanation of the reasons.
> 
> Should I add an override for this one or is there really a good
> reason why one should not do this from prerm?

Probably best file a bug on lintian anyway, either our explanation
should be improved, or the check modified. This will ensure this issue
won't get forgotten, even though maybe atm nobody has time to look into
it (I don't).

If in doubt, best leave it not-overridden, I guess, and ignore the
warning if you believe you're doing the correct thing.

--Jeroen

-- 
Jeroen van Wolffelaar
Jeroen@wolffelaar.nl (also for Jabber & MSN; ICQ: 33944357)
http://Jeroen.A-Eskwadraat.nl



Reply to: