mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-13 05:32:56 +01:00
add use-country-mirrors script
This commit is contained in:
parent
64cb69dba5
commit
aec200b925
1 changed files with 10 additions and 0 deletions
10
scripts/use-country-mirrors.sh
Executable file
10
scripts/use-country-mirrors.sh
Executable file
|
@ -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
|
Loading…
Reference in a new issue