Last active
July 27, 2018 15:21
-
-
Save dbirks/f05d6fa07dbe5e45b1d766b4cc41eb55 to your computer and use it in GitHub Desktop.
Revisions
-
dbirks revised this gist
Jul 27, 2018 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -2,6 +2,8 @@ ### Rank repo mirrors `rankmirrors` is included in the `pacman-contrib` package. Make a backup, then run the rankmirrors script through sed to remove some extra commented-out lines. ```bash -
dbirks revised this gist
Nov 2, 2017 . 1 changed file with 5 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,10 @@ ### Rank repo mirrors Make a backup, then run the rankmirrors script through sed to remove some extra commented-out lines. ```bash mv /etc/pacman.d/mirrorlist{,.old} rankmirrors -n 5 /etc/pacman.d/mirrorlist.old | sed -e '/^##/d' > /etc/pacman.d/mirrorlist ``` -
dbirks revised this gist
Nov 2, 2017 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -2,5 +2,6 @@ ### Rank repo mirrors ``` mv /etc/pacman.d/mirrorlist{,.old} rankmirrors -n 5 /etc/pacman.d/mirrorlist.old > /etc/pacman.d/mirrorlist ``` -
dbirks created this gist
Nov 2, 2017 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ ### Rank repo mirrors ``` rankmirrors -n 5 /etc/pacman.d/mirrorlist.backup > /etc/pacman.d/mirrorlist ```