Created
September 28, 2020 17:14
-
-
Save EgidioCaprino/fe4912e31244f2835a21a75fb2d301d0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup | |
curl -s 'https://www.archlinux.org/mirrorlist/?protocol=https&use_mirror_status=on' | sed -e 's/^#Server/Server/' -e '/^#/d' | rankmirrors -n 10 - > /etc/pacman.d/mirrorlist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment