dotfiles/scripts/use-country-mirrors.sh

11 lines
238 B
Bash
Raw Permalink Normal View History

2023-08-01 14:41:40 +02:00
#!/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