Victor Franzi - Git Sources dotfiles / master pacman / etc / pacman.d / hooks / mirrorlist-upgrade.hook
master

Tree @master (Download .tar.gz)

mirrorlist-upgrade.hook @masterraw · history · blame

[Trigger]
Operation = Upgrade
Type = Package
Target = pacman-mirrorlist

[Action]
Description = Updating pacman-mirrorlist with reflector and removing pacnew...
When = PostTransaction
Depends = reflector
Exec = /bin/sh -c "reflector --country France --country Germany --latest 3 --age 12 --protocol https --sort rate --save /etc/pacman.d/mirrorlist; rm -f /etc/pacman.d/mirrorlist.pacnew"