Welcome to the Pacman bug tracker. Please search the current bugs and feature requests before filing a new one! Use advanced search and select "Search in Comments".
* Please select the correct category and version.
* Write a descriptive summary, background info, and provide a reproducible test case whenever possible.
* Please select the correct category and version.
* Write a descriptive summary, background info, and provide a reproducible test case whenever possible.
FS#49349 - [pacman] --hookdir should have more precedence over HookDir
Attached to Project:
Pacman
Opened by Gerardo Exequiel Pozzi (djgera) - Sunday, 15 May 2016, 20:59 GMT
Last edited by Allan McRae (Allan) - Tuesday, 29 December 2020, 13:39 GMT
Opened by Gerardo Exequiel Pozzi (djgera) - Sunday, 15 May 2016, 20:59 GMT
Last edited by Allan McRae (Allan) - Tuesday, 29 December 2020, 13:39 GMT
|
DetailsCurrently in pacman-5.0.1, if HookDir is set in pacman.conf it takes more precedence over --hookdir option. I guess is a more expected bahavior if reverse this.
|
This task depends upon

See also: https://bugs.archlinux.org/task/49347

The only way I can see to fix this is to take a copy of the config->hookdirs before parseconfig() is called and restore it if it has more than the default entry in it.