[pacman-dev] alpm-hooks: OVERRIDING HOOKS

Sean Enck enckse at gmail.com
Sat Mar 17 22:36:43 UTC 2018

If you read the "man alpm-hooks" it alludes to a priority-based directory
overriding behavior. But the directory/priority queue for when hooks are
loaded isn't stated [0]

Some quick searching indicates: "/etc/pacman.d/hooks" [1] is (at least one
example) place that will override "/usr/share/libalpm/hooks".

The directories/priorities should be enumerated in the docs. Even if this
is enumerated in another doc page somewhere, since the behavior really
_matters_ in alpm-hooks it should probably be at least re-enumerated here
if not become the source-of-record for this information.


[0] https://www.archlinux.org/pacman/alpm-hooks.5.html
[1] https://wiki.archlinux.org/index.php/User:Allan/Pacman_Hooks

More information about the pacman-dev mailing list