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
|
Details
Currently 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
Comment by Allan McRae (Allan) -
Monday, 16 May 2016, 22:27 GMT
Comment by Allan McRae (Allan) -
Friday, 19 January 2018, 13:06 GMT
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.