From f7f73652284de0c4232f28642ec844fbd86f2817 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Fri, 14 Aug 2020 21:32:49 +0200 Subject: [PATCH] add: rankmirrors-personal-pref script --- .local/bin/rankmirrors-personal-pref | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 .local/bin/rankmirrors-personal-pref diff --git a/.local/bin/rankmirrors-personal-pref b/.local/bin/rankmirrors-personal-pref new file mode 100755 index 0000000..4359f6e --- /dev/null +++ b/.local/bin/rankmirrors-personal-pref @@ -0,0 +1,3 @@ +#!/bin/env sh + +curl -s "https://www.archlinux.org/mirrorlist/?country=AT&country=BY&country=BE&country=BA&country=BG&country=HR&country=CZ&country=DK&country=FI&country=FR&country=DE&country=GR&country=HU&country=IS&country=IE&country=IT&country=LV&country=LT&country=LU&country=NL&country=MK&country=NO&country=PL&country=PT&country=RO&country=RS&country=SK&country=SI&country=ES&country=SE&country=CH&country=UA&country=GB&protocol=https&ip_version=4" | sed -e 's/^#Server/Server/' -e '/^#/d' | rankmirrors -n 25 -