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

Re: Triggers in menu

Andreas Tille wrote:
> Yes, this is correct.  But what is actually the advantage of calling
> update-menus using triggers instead of doing it in the postinst.
> I always assumed that triggers would care for calling a programm
> at the right time (in the case of update-menus I would regard the
> right time either at the end of a dpkg or an apt run) but definitely
> not every time /usr/{lib,share}/menu is touched.

The current triggers code does not call the triggered script each time a
file is touched. The triggered script is called once at the end of the
dpkg run, and once after the set of changed packages are unpacked. (I'm
not sure why the latter call happens.)

see shy jo

Attachment: signature.asc
Description: Digital signature

Reply to: