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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 19, 2008 at 08:02:38PM +0200, Till Maas wrote:

> 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?

With %trigger you have to specify the package that fires the trigger.
So, no, that cannot be used to catch all packages, only for packages
for which you create a %trigger (in another package).

-- 
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux