On May 27, 2015, at 12:22 PM, Jan Rękorajski wrote: >> >> what's the current state of multiple triggers per package combination? >> are they both fired? in what order? >> >> i recall, that in old times, it was just better to move triggers to one >> trigger (one with biggest version combination) and write all trigger >> bodies there, accounting that the trigger might have already been ran > > AFAIK rpm5 does not have this problem and multiple triggers work. >
Yes. Order will be as encountered, which is likely the order of install since the package b-tree retrieval keys are monotonically increasing persistent integers (and across --rebuilddb unless /var/lib/rpm/Seqno has been removed/recreated). It's still better to consolidate triggers: the context in which triggers are fired is highly non-trivial to ensure success with dependencies. 73 de Jeff _______________________________________________ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en