summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcheckVersions4
1 files changed, 2 insertions, 2 deletions
diff --git a/checkVersions b/checkVersions
index 835ae1701..242901e8c 100755
--- a/checkVersions
+++ b/checkVersions
@@ -30,9 +30,9 @@ curl_it() {
return
fi
tmp_file=$(mktemp)
- curl --compressed -o "${tmp_file}" --connect-timeout 10 -s "$@" "${source}"
+ curl --compressed -o "${tmp_file}" --connect-timeout 10 -s -x socks5://127.0.0.1:9050 "$@" "${source}"
if [ ! -s "${tmp_file}" ]; then
- curl --compressed -o "${tmp_file}" --connect-timeout 10 -s -x socks5://127.0.0.1:9050 "$@" "${source}"
+ curl --compressed -o "${tmp_file}" --connect-timeout 10 -s "$@" "${source}"
fi
local trials=5
while ! mv "${tmp_file}" "${cache_file}" && \