FS#47024 - paccache doesn't support multiple CacheDir's from pacman.conf

Attached to Project: Pacman
Opened by m (sylvite) - Tuesday, 10 November 2015, 15:02 GMT
Last edited by Allan McRae (Allan) - Tuesday, 11 October 2016, 10:29 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To Andrew Gregory (andrewgregory)
Architecture All
Severity Low
Priority Normal
Reported Version 4.2.1
Due in Version 5.1.0
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Summary and Info:
/etc/pacman.conf supports multiple CacheDir's
paccache supports multiple --cachedir's on the command line
But if no --cachedir's are specified on the command line, paccache only reads the first CacheDir from /etc/pacman.conf
I would expect that paccache would default to using all CacheDir's in /etc/pacman.conf

Steps to Reproduce:
1) edit /etc/pacman.conf, adding more than 1 CacheDir
2) run paccache without using --cachedir options
This task depends upon

Closed by  Allan McRae (Allan)
Tuesday, 11 October 2016, 10:29 GMT
Reason for closing:  Won't fix
Comment by m (sylvite) - Tuesday, 10 November 2015, 17:45 GMT
Here is a patch to fix.

Loading...