index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-01-24 06:54:00 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-01-24 06:54:00 +0100 |
commit | d02c7e878080f372a38ee1c13d138879789e7ed7 (patch) | |
tree | 050c3066202fabd680dc78c79786d23eef0bdec9 /bin/check-mirrors | |
parent | 3ac8c0748afa2c131238c4e375d84b20aac47cda (diff) |
-rwxr-xr-x | bin/check-mirrors | 6 |
diff --git a/bin/check-mirrors b/bin/check-mirrors index 64dc844..52c0243 100755 --- a/bin/check-mirrors +++ b/bin/check-mirrors @@ -107,7 +107,7 @@ elif [ $# -eq 1 ]; then success=1 has_ipv4=1 if last_sync=$( - curl -4 -s "${url}lastsync" + curl -L -4 -s "${url}lastsync" ); then if printf '%s' "${last_sync}" | \ tr '\n' 'X' | \ @@ -119,7 +119,7 @@ elif [ $# -eq 1 ]; then fi has_ipv6=1 if cnt=$( - curl -6 -s "${url}lastsync" + curl -L -6 -s "${url}lastsync" ); then if printf '%s' "${cnt}" | \ tr '\n' 'X' | \ @@ -141,7 +141,7 @@ elif [ $# -eq 1 ]; then if [ ${success} -eq 1 ]; then has_isos=1 cnt=$( - curl -s "${ip_flag}" "${url}archisos/" + curl -L -s "${ip_flag}" "${url}archisos/" ) || has_isos=0 for suffix in 'i686' 'dual'; do # shellcheck disable=SC2059 |