[arch-general] pacman and hooks

Eli Schwartz eschwartz93 at gmail.com
Wed Feb 3 02:06:14 UTC 2016


On 02/02/2016 09:00 PM, Andrew Gregory wrote:
> Neither hooks.bin nor hooks.local are used by alpm/pacman in any way.
> They are merely my own personal suggestions for where packages should
> put scripts and inactive hooks.  The intent for hooks.local is for
> packages to place any hooks that shouldn't be automatically enabled
> there, then for users to selectively enable them by symlinking them
> into /etc/pacman.d/hooks.
> 
> apg
> 

Duh... "inactive hooks for users to enable"

I should have realized.

Of course, three of those hooks are things that should (eventually) be
replacing standard install scripts. So they should be going in
/usr/share/libalpm/hooks/

Speaking of which, does anyone know what plans there are for globally
transitioning common actions like gtk-update-icon-cache,
update-{mime,desktop}-database, vim helptags, install-info, etc. to hooks?

Will these be part of pacman, or part of the packages that provide the
executables they use?

-- 
Eli Schwartz


More information about the arch-general mailing list