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> | 2020-06-29 10:43:33 +0200 |
commit | f860e02027690f5f76252ac8fc4c5a07e853a17e (patch) | |
tree | 896d06c7d22c59018369f44434567deaa11aab0e | |
parent | ea65c14d3d4fd4909b58345b512a885f3a52cf91 (diff) |
-rw-r--r-- | arch-nspawn.in | 2 |
diff --git a/arch-nspawn.in b/arch-nspawn.in index ce60600..b1021a4 100644 --- a/arch-nspawn.in +++ b/arch-nspawn.in @@ -64,7 +64,7 @@ if (( ${#cache_dirs[@]} == 0 )); then fi # shellcheck disable=2016 -host_mirrors=($($pacconf_cmd --repo extra Server 2> /dev/null | sed -r 's#(.*/)extra/os/.*#\1$repo/os/$arch#')) +host_mirrors=($($pacconf_cmd --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 |