Custom post-transaction Hooks #
Yum allows executing custom scripts with a post-action plugin. For that you
need to first install the plugin and then drop your actions in
yum install yum-plugin-post-transaction-actions
A silly example executing upon any vim updates could look like this:
vim*:any:bash -c "(date; id) > /tmp/post"