aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Lublin <daniel@lublin.se>2019-07-16 17:58:34 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2020-04-16 15:37:43 +0200
commit652aaed5afed60afd6123e70567c27b1c8da6e62 (patch)
treebc06104aabab116e0b98bb27669ff68a1482d29c
parent0c0ded1d885431bf4509222368278ec6644bf646 (diff)
downloadalpine-conf-master.tar.bz2
alpine-conf-master.tar.xz
setup-apkrepos: try fetching the mirror list repeatedly while promptingHEADmaster
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/issues/10446
-rw-r--r--setup-apkrepos.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup-apkrepos.in b/setup-apkrepos.in
index 1b05978..e73e627 100644
--- a/setup-apkrepos.in
+++ b/setup-apkrepos.in
@@ -202,6 +202,10 @@ if $add_fastest; then
fi
while ! $changed; do
+ if [ -z "$MIRRORS" ]; then
+ MIRRORS=$(wget -qO- $MIRRORS_URL)
+ fi
+
show_mirror_list
prompt_setup_method $default_answer