Browse Source

sde-download: allow redirects when probing mirrors

Signed-off-by: Alejandro Mery <amery@geeks.cl>
stable/0.2
Alejandro Mery 5 years ago
parent
commit
5e4784038c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/sde-download/mirror-test.sh

+ 1
- 1
lib/sde-download/mirror-test.sh

@ -47,7 +47,7 @@ while read name country admin url ; do
# test
echo -n "Testing <$name> ($country) ..." 1>&2
speed="$(curl -s -m 20 "$url/DOWNTEST" -w "%{speed_download}" -o /dev/null |
speed="$(curl -Ls -m 20 "$url/DOWNTEST" -w "%{speed_download}" -o /dev/null |
sed -e 's:,:.:' -e 's:[\.,]...$::' )"
# compare

Loading…
Cancel
Save