12 Jul
2013
12 Jul
'13
8:19 p.m.
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.