summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-05-27 06:53:01 +0200
committerErich Eckner <git@eckner.net>2020-05-27 06:53:01 +0200
commit5319dd280fe7e3189c4fe4cd3c5e6ddd53c70178 (patch)
tree3f515541e9b86abc5584c09c8d736814095bf04e
parent991bae95633c45186cb67391655cf65544c935f3 (diff)
downloadarch-mirror-5319dd280fe7e3189c4fe4cd3c5e6ddd53c70178.tar.xz
arch-mirror: only consider close mirrors
-rwxr-xr-xarch-mirror1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch-mirror b/arch-mirror
index d2ecf97..9dc9fea 100755
--- a/arch-mirror
+++ b/arch-mirror
@@ -158,6 +158,7 @@ fetch_archlinux_mirrors() {
' \
| grep -F '"protocol": "rsync"' \
| grep -F '"isos": true' \
+ | grep '"country_code": "\(DE\|CZ\|NL\|CH\|AT\|DK\)"' \
| {
date -u +'%FT%TZ CUTCUTCUT' -d@$(($(date +%s)-3600))
sed '