7 lines
237 B
Plaintext
7 lines
237 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
set -eoux pipefail
|
||
|
|
||
|
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup
|
||
|
sed -i 's/^#Server/Server/' /etc/pacman.d/mirrorlist.backup
|
||
|
rankmirrors -n 20 /etc/pacman.d/mirrorlist.backup > /etc/pacman.d/mirrorlist
|