diff --git a/scripts/use-country-mirrors.sh b/scripts/use-country-mirrors.sh new file mode 100755 index 0000000..b580077 --- /dev/null +++ b/scripts/use-country-mirrors.sh @@ -0,0 +1,10 @@ +#!/bin/sh +set -ex + +# This is a small wrapper script that uses reflector to update the pacman mirrors +# using the fastest servers of a given country. + +reflector \ + --country "$1" \ + --fastest 10 \ + --save /etc/pacman.d/mirrorlist