RPM Community Forums

Mailing List Message of <rpm-users>

Finding out triggered package version

From: Jefferson Ogata <rpm-users@antibozo.net>
Date: Thu 15 Jul 2010 - 02:26:01 CEST
Message-ID: <4C3E5599.8070607@antibozo.net>
I'm trying to write a SPEC file for a package that will be triggered on 
kernel upgrades. Its trigger scriptlet will execute a script to install 
a kernel module. The script needs to know the version of the new kernel.

Is there any way for a trigger scriptlet to discover the version of the 
triggered package that is being installed?

Thanks in advance.
Received on Thu Jul 15 03:02:04 2010
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.