hook into rpm install/update/deletion of any package (for etckeeper)

Till Maas opensource at till.name
Mon May 19 18:02:38 UTC 2008


Hiyas,

is it possible to hook into rpm in a way that an arbitray programm is run 
whenever a package is installed, updated or deleted?

I want to test etckeeper:
http://kitenet.net/~joey/code/etckeeper/
This programm creates a repository for /etc and keeps track of changes that 
are done there via package updates and therefore it needs to hook into rpm as 
far as I can see. Is it maybe possible to do this with something 
like %trigger?

Regards,
Till
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20080519/3a03c804/attachment-0001.bin 


More information about the devel mailing list