Triggers in dpkg/APT?
Posted Jul 30, 2004 1:15 UTC (Fri) by
AnswerGuy (subscriber, #1256)
In reply to:
Strawman problems or poorly done homework? by vmole
Parent article:
OLS: An introduction to Conary
One think I'm curious about. Is there support in the Debian packaging system for triggers (like RPM has)?
Triggers don't seem to be widely used (packager ignorance?) but they seem like a neat idea. With some carefully designed standards among packages
they could make your package management system almost "object-oriented."
(Consider: you install a mail user agent (MUA) which registers a trigger on the virtual package MTA. When any MTA is installed, the trigger runs a script which invokes the MTA's own MUA registration script. Now all MUAs can have some setting adjusted when an MTA is replaced. All of the MUAs "know" whether the system is using mbox, maildir, or MMDF system mailboxes --- for example).
(Sorry if the example is silly --- better examples might relate to registration of menu items and icons in window managers or something).
JimD
(
Log in to post comments)