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

Re: Efficiency of triggers



Hi,

Le 15 mai 08 à 21:54, Joey Hess a écrit :

If I remove the dpkg-trigger call from my update- script, everything
goes fine. I still need to check what happens for upgrades rather than
installs (but I will require some seep before I do).

So I'm currently thinking that I should, indeed, remove the dpkg- trigger
call from the script. Any thought?

You generally only need a file trigger, or an update- script that
manually triggers, and not both.

I understand that. Currently, the add-ons call the update- script, so the script should remain as long as the add-on packages have not been fixed. The transition plan suggested in triggers.txt.gz says that update-<package> should be modified to call dpkg-trigger, but I'm under the impression that in my case, it should just become a no-op. Note that I'm the only maintainer for Yorick add-on packages so far, so I have a good understanding of the situation and I can usually reach a consensus with myself easily :-) But, still, I prefer to think twice before I upload...

By the way, the postinst/postrm lines which call update-yorickdoc in add-on packages are added by dh_installyorick. I plan on modifying it right away to not generate these lines anymore. After that, a simple rebuild of the add-on packages would be sufficient to fix them.

Regards, Thibaut.

Attachment: PGP.sig
Description: =?ISO-8859-1?Q?Ceci_est_une_signature_=E9lectronique_PGP?=


Reply to: