Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-01-24 06:58:01 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2020-01-24 06:58:01 +0100
commita96b783f9cb75e233ebe71b44b41ee09b189c56f (patch)
treeec7c765ca5f0ca3c9db75b92f5f3e30fce8b7faa
parent516efd4fc5a2d942373f6d0438ac56eb4373126f (diff)
check-mirrors: reverted -L
-rwxr-xr-xbin/check-mirrors6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/check-mirrors b/bin/check-mirrors
index 8944737..d106201 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 -L -4 -s "${url}lastsync"
+ curl -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 -L -6 -s "${url}lastsync"
+ curl -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 -L -s "${ip_flag}" "${url}archisos/"
+ curl -s "${ip_flag}" "${url}archisos/"
) || has_isos=0
for suffix in 'i686' 'dual'; do
# shellcheck disable=SC2059