Marc - A. Dahlhaus [ Administration | Westermann GmbH ] wrote:
Hello,
what about an approach that keeps all settings of a specific hook inside
the hook script itself? This would just work after deployment of a hook
script in /etc/pacman.d/hooks.d without any configuration file hassle.
The Hooks would be self contained in files that pacman could source
before doing anything. And if someone wants to know what a hook do and
when it will be used there is only one place to look.
Marc
The one problem I see with that is that the actual script needs to be
run. The post_install scripts etc, just source and run the script in a
shell. This becomes more difficult if we have to keep information what
files trigger the hooks to be run and when.
Allan
_______________________________________________
pacman-dev mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/pacman-dev