Pacman

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.
Tasklist

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 Eli Schwartz (eschwartz) - Tuesday, 29 May 2018, 01:55 GMT
Task Type Bug Report
Category General
Status Assigned
Assigned To Allan McRae (Allan)
Andrew Gregory (andrewgregory)
Architecture All
Severity Low
Priority Normal
Reported Version 5.0.1
Due in Version 6.0.0
Due Date Undecided
Percent Complete 0%
Votes 1
Private No

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
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.

Loading...