Last active
April 28, 2018 12:06
-
-
Save jaksi/c67bac0cfff0f5db4cfe00a9a383ab76 to your computer and use it in GitHub Desktop.
Update pacman mirrorlist using reflector after each upgrade of pacman-mirrorlist
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
[Trigger] | |
Type = Package | |
Operation = Install | |
Operation = Upgrade | |
Target = pacman-mirrorlist | |
[Action] | |
Description = Updating mirrorlist... | |
When = PostTransaction | |
Depends = reflector | |
Exec = /usr/bin/reflector --latest 5 --sort rate --save /etc/pacman.d/mirrorlist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment