summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-05-20 23:01:00 +0200
committerErich Eckner <git@eckner.net>2020-05-20 23:01:00 +0200
commitb2d4fb8a287317c140013440dbb60d92c965f230 (patch)
tree38ea269f71e654eaede5a2675bbf6f9542c5ac92
parent6aa35227b568dc114f6187c23f9009062845b306 (diff)
downloadarch-mirror-b2d4fb8a287317c140013440dbb60d92c965f230.tar.xz
arch-mirror: only take upstream mirrors which have isos
-rwxr-xr-xarch-mirror1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch-mirror b/arch-mirror
index 3d8c842..81fdf51 100755
--- a/arch-mirror
+++ b/arch-mirror
@@ -152,6 +152,7 @@ fetch_archlinux_mirrors() {
s/}, {/},\n{/g
' \
| grep -F '"protocol": "rsync"' \
+ | grep -F '"isos": true' \
| {
date -u +'%FT%TZ CUTCUTCUT' -d@$(($(date +%s)-3600))
sed '