Created
June 30, 2018 13:12
-
-
Save KenyOS/e02ba7911dfb8c5c961372061a373308 to your computer and use it in GitHub Desktop.
Hook for use Reflector on Arch Linux (File on /usr/share/libalpm/hooks)
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 = File | |
Operation = Install | |
Operation = Upgrade | |
Operation = Remove | |
Target = usr/ | |
[Action] | |
Description = Updating Arch Linux Mirrors.... | |
When = PostTransaction | |
Exec = /usr/bin/reflector --verbose --latest 5 --sort rate --save /etc/pacman.d/mirrorlist | |
NeedsTargets |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment