diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-01-24 16:16:00 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-01-24 16:17:50 +0000 |
commit | b21500f3de545fe42832ec5c7fa121f5051594fb (patch) | |
tree | 8452131b798ea46b79027e016ca9995086831497 /setup-apkrepos.in | |
parent | f2d14370666c42ed28095e562b6dd9109bbd2a3e (diff) | |
download | alpine-conf-b21500f3de545fe42832ec5c7fa121f5051594fb.zip |
setup-apkrepos: use wget --spider
the wget -s option was removed in busybox 1.26
https://git.busybox.net/busybox/commit/?id=2972e2c4acb9c46a8cc05c857acac2b3d439bf69
ref #6683
Diffstat (limited to 'setup-apkrepos.in')
-rw-r--r-- | setup-apkrepos.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-apkrepos.in b/setup-apkrepos.in index 4565852..05ef08e 100644 --- a/setup-apkrepos.in +++ b/setup-apkrepos.in @@ -51,7 +51,7 @@ find_fastest_mirror() { for url in $MIRRORS; do # warm up the dns cache nslookup $(get_hostname_from_url $url) >/dev/null 2>&1 - local time=$(time_cmd wget -q -s -T 5 \ + local time=$(time_cmd wget --spider -q -T 5 \ ${url%/}/edge/main/$arch/APKINDEX.tar.gz) if [ -n "$time" ]; then echo "$time $url" |