[Frugalware-devel] hooks for pacman

Miklos Vajna vmiklos at frugalware.org
Tue Dec 25 23:59:58 CET 2007


hi,

i think it would be nice to implement various hooks for pacman. here is
an example:

a post_sysupgrade hook would be run after a -Syu completed successfully

open questions:

- what should be the syntax of a hook?

 i think we could use the install scriptlet style, so something like:

 /etc/pacman-g2-hooks.d/foo:

 post_sysupgrade()
 {
        foo
 }

- where should they be placed? /etc/pacman-g2-hooks.d is the right
  place?

i'll try to think about it, but ideas are welcome, too.

thanks,
- VMiklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20071225/4cdd8768/attachment.sig


More information about the Frugalware-devel mailing list