RPM Community Forums

Mailing List Message of <rpm-users>

Re: Clarification of the way triggers do work

From: Tobias Gerschner <tobias.gerschner@gmail.com>
Date: Thu 15 Oct 2009 - 04:12:14 CEST
Message-ID: <ea7e82ce0910141912r52a6303cxbf07efe6e1c5413a@mail.gmail.com>
> Triggers will fire whenever the trigger condition is met. That may or may
> not
> be only once on upgrade. Just make sure the trigger body is prepared
> to create symlinks iff the symlink does not already exist. Running a
> trigger isn't particularly expensive, and the trigger condition should
> be tuned (by adding version comparison) to limit the trigger condition.
> hth
> 73 de Jeff

Did you mean to say, that running triggers is an expensive operation ?
Why else would you tune to limit it's occurrence ?

Tobias Gerschner
Yoper Linux - www.yoper.com

Knowing is not enough; we must apply. Willing is not enough; we must do.
Received on Thu Oct 15 04:12:30 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.