diff options
author | Daniel Lublin <daniel@lublin.se> | 2019-07-16 17:58:34 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2020-05-28 15:21:17 +0000 |
commit | dcb4e48f1f237b09bb30d210f4a58e69587b19de (patch) | |
tree | bc06104aabab116e0b98bb27669ff68a1482d29c /setup-apkrepos.in | |
parent | 1bc9689361b4f1e586bd026d62f1b778f431cad1 (diff) | |
download | alpine-conf-dcb4e48f1f237b09bb30d210f4a58e69587b19de.zip |
setup-apkrepos: try fetching the mirror list repeatedly while prompting
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/issues/10446
Diffstat (limited to 'setup-apkrepos.in')
-rw-r--r-- | setup-apkrepos.in | 4 |
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 |