index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-04-01 10:38:05 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2022-06-07 06:34:13 +0200 |
commit | 8a1ddf03b0ea51fa373f41942ff4a278fb11692c (patch) | |
tree | c6b9a87c128f990aec0f49b8b087f7d2e76c3080 | |
parent | 93df780d3420f3f1f4abd4b9261378ae6ad06646 (diff) |
-rw-r--r-- | arch-nspawn.in | 2 |
diff --git a/arch-nspawn.in b/arch-nspawn.in index 275cff7..9086684 100644 --- a/arch-nspawn.in +++ b/arch-nspawn.in @@ -54,7 +54,7 @@ if (( ${#cache_dirs[@]} == 0 )); then fi # shellcheck disable=2016 -host_mirrors=($(pacman-conf --repo extra Server 2> /dev/null | sed -r 's#(.*/)extra/os/.*#\1$repo/os/$arch#')) +host_mirrors=($(pacman-conf --config "${pac_conf:-$working_dir/etc/pacman.conf}" --repo extra Server 2> /dev/null | sed -r 's#(.*/)extra/os/.*#\1$repo/os/$arch#')) for host_mirror in "${host_mirrors[@]}"; do if [[ $host_mirror == *file://* ]]; then |