summaryrefslogtreecommitdiffstats
path: root/makechrootpkg.in
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2017-10-01 05:40:47 +0200
committerEli Schwartz <eschwartz@archlinux.org>2018-05-13 15:16:20 +0200
commit5b3c14454a9c1ec00a3ef11f3f599281127b383d (patch)
tree6a743b950600a3781c5d5ef177452c56eefab743 /makechrootpkg.in
parent4408bb2a1529b5a1e62e12ac617daac945d44e27 (diff)
downloaddevtools-5b3c14454a9c1ec00a3ef11f3f599281127b383d.tar.gz
devtools-5b3c14454a9c1ec00a3ef11f3f599281127b383d.tar.xz
Proper fix for pacman-git returning file urls from the cache
It is much nicer to use a proper configuration parser to retrieve the primary mirror, rather than clever hacks using undocumented APIs, especially when their behavior as used then breaks in later releases. Fortunately, pacutils exists now and pacconf handles this quite elegantly. It has since been moved to pacman-git proper. Check if pacman-conf from a new enough version of pacman exists and fallback on pacconf from pacutils.
Diffstat (limited to 'makechrootpkg.in')
0 files changed, 0 insertions, 0 deletions