Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/check-mirrors
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2024-10-17 07:57:53 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2024-10-17 07:57:53 +0200
commit3f5a59b26121cdc9b501771a4b7be01f831fcdd8 (patch)
treea7702d888c3e7206c6a3bac19aaf73fa7c87641a /bin/check-mirrors
parent671cf5545a438bdf94525c6c5cd660ee4ee6680f (diff)
check-mirrors: disabled cert checking for nowHEADmaster
Diffstat (limited to 'bin/check-mirrors')
-rwxr-xr-xbin/check-mirrors6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/check-mirrors b/bin/check-mirrors
index d0b626c..26fa757 100755
--- a/bin/check-mirrors
+++ b/bin/check-mirrors
@@ -121,7 +121,7 @@ elif [ $# -eq 1 ]; then
success=1
has_ipv4=1
if last_sync=$(
- curl -4 -s "${url}lastsync"
+ curl -k -4 -s "${url}lastsync"
); then
if printf '%s' "${last_sync}" | \
tr '\n' 'X' | \
@@ -133,7 +133,7 @@ elif [ $# -eq 1 ]; then
fi
has_ipv6=1
if cnt=$(
- curl -6 -s "${url}lastsync"
+ curl -k -6 -s "${url}lastsync"
); then
if printf '%s' "${cnt}" | \
tr '\n' 'X' | \
@@ -155,7 +155,7 @@ elif [ $# -eq 1 ]; then
if [ ${success} -eq 1 ]; then
has_isos=1
cnt=$(
- curl -s "${ip_flag}" "${url}archisos/"
+ curl -k -s "${ip_flag}" "${url}archisos/"
) || has_isos=0
# doesn't really work: dual doesn't exist anymore and the other test sometimes fails, sometimes succeeds?
# let's assume the precense of the 'archisos' directory is enough