How to obtain relver of %trigger package?

Richard.Johnson Richard.Johnson at stratus.com
Tue Aug 31 23:04:11 UTC 2010


Hi folks--
Is there any way to obtain the relver of a %trigger package?

For example, when implementing a "%triggerin -- kernel" how would one  
obtain the relver of the new kernel package?
Or, rather than knowing that _a_ kernel was installed, how would one  
determine _which_ kernel was installed.

This would be particularly useful for "%triggerun -- kernel" where  
the script can be executed before the old kernel's files are removed.

Thanks,
--rich


More information about the Rpm-list mailing list