mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-14 14:23:43 +01:00
11 lines
238 B
Bash
11 lines
238 B
Bash
|
#!/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
|