[arch-general] Can I prevent Pacman from running hooks?

Tobias Hunger tobias.hunger at gmail.com
Sat Oct 13 16:58:53 UTC 2018


On Sat, Oct 13, 2018 at 6:44 PM Doug Newgard via arch-general
<arch-general at archlinux.org> wrote:
> Because, as I said earlier, hooks can and do take into account the specific
> files being installed. If you install one package that needs a specific hook,
> running that hook later will have the correct file list and will not run
> correctly.

Most hooks are just run and do not care for any input. Some of the
hook scripts take a list from stdin. By the way: It would be nice if
that was documented in the alpm-hooks man page.

I see no reason why I can not generate this file list right when I
want to run the hooks. In my setup I can ignore anything but the
Install hooks. For those I just need to apply the glob patterns in the
Target fields. That should not be too hard.

Best Regards,
Tobias


More information about the arch-general mailing list