[pacman-dev] So many HOOK puns could go here!
Simon Gomizelj
simongmzlj at gmail.com
Fri Jul 12 16:19:12 EDT 2013
> 2) Complete list of when hooks can be run. Current list:
>
> PreRemove
> PostRemove
> PreInstall
> PostInstall
> Transaction
>
Since you mentioned the texinfo later on, will you be able to
distinguish in a hook between an install and an upgrade?
>
> 5) How should we handle packages installing a new hook? e.g. In Arch,
> texinfo will carry the install-info hook. I think it will still need a
> post_install script to add all the info files installed before texinfo
> was to the info directory, but then the hook install should be
> recognised and act on any packages installed after that. Reasonable?
>
And what actually stopping pacman from detecting if any new hooks have
been installed between the install and post-install steps? Then you
could use it right away.
More information about the pacman-dev
mailing list