On Sep 19, 2008, at 12:35 PM, Michael Schroeder wrote:
> On Fri, Sep 19, 2008 at 04:21:50PM +0000, Alexey Tourbin wrote:
>> Technically there's no piping, only a file duplicated on stdin. And
>> "filetriggers" are run only once, at the end of transaction (they're
>> actually "posttrans filetriggers"), which saves consecutive ldconfig,
>> gtk-update-icon-cache, or whatever calls.
> Uh, but can that work? A Prereq to another package basically says
> that the package must be fully configured before installation,
> so all triggers must be run. Post-transaction is a bit late...
There's need for a IMMEDIATE as well as a ONETIME (as in delayed)
The ONETIME mechanism can be handled by appending to existing
%posttrans, the IMMEDIATE attribute is essentially the existing trigger
73 de Jeff
Received on Fri Sep 19 18:41:07 2008