index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-04-02 11:25:54 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-08-22 11:18:40 +0200 |
commit | 2f3127144f6c944486430470db3f6e51a2e9ce11 (patch) | |
tree | c2aca77d906468e08d16a672d202b24357b5ff81 /arch-nspawn.in | |
parent | 6e43f5f61a1b659107a42cbfd8eee0c3b0583c2b (diff) |
-rw-r--r-- | arch-nspawn.in | 2 |
diff --git a/arch-nspawn.in b/arch-nspawn.in index b251756..a552dea 100644 --- a/arch-nspawn.in +++ b/arch-nspawn.in @@ -63,7 +63,7 @@ if (( ${#cache_dirs[@]} == 0 )); then fi # shellcheck disable=2016 -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#')) +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#;t;s#(.*/)[^/]+/extra$#\1$arch/$repo#')) while read -r line; do mapfile -t lines < <($pacconf_cmd --config "${pac_conf:-$working_dir/etc/pacman.conf}" \ |