diff options
author | Erich Eckner <git@eckner.net> | 2019-04-02 11:25:54 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-04-04 10:07:35 +0200 |
commit | 878be2dd40256bef80e30266e96b0b28fa0850fc (patch) | |
tree | c8211f4743efae85279df936412f5313f6f61091 | |
parent | 31c65331207291dbe504f49b54370a26cf25c463 (diff) | |
download | devtools32-20190404.tar.xz |
arch-nspawn: also parse our mirror layout (http[s]://mirror.url/path/$arch/$repo)v20190404
-rw-r--r-- | arch-nspawn.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch-nspawn.in b/arch-nspawn.in index 1dd0e49..f217b1e 100644 --- a/arch-nspawn.in +++ b/arch-nspawn.in @@ -62,7 +62,7 @@ fi pacconf_cmd=$(command -v pacman-conf || command -v pacconf) # shellcheck disable=2016 -host_mirrors=($($pacconf_cmd --conf "$pac_conf" --repo extra Server 2> /dev/null | sed -r 's#(.*/)extra/os/.*#\1$repo/os/$arch#')) +host_mirrors=($($pacconf_cmd --conf "$pac_conf" --repo extra Server 2> /dev/null | sed -r 's#(.*/)extra/os/.*#\1$repo/os/$arch#;t;s#(.*/)[^/]+/extra$#\1$arch/$repo#')) # {{{ functions build_mount_args() { |