2018-08-27 16:37:14 +00:00
|
|
|
[Trigger]
|
|
|
|
Operation = Upgrade
|
|
|
|
Type = Package
|
|
|
|
Target = pacman-mirrorlist
|
|
|
|
|
|
|
|
[Action]
|
|
|
|
Description = Updating pacman-mirrorlist with reflector and removing pacnew...
|
|
|
|
When = PostTransaction
|
|
|
|
Depends = reflector
|
2019-10-02 06:27:36 +00:00
|
|
|
Exec = /usr/bin/env sh -c "reflector --country 'Germany' --latest 200 --age 24 --sort rate -p https --save /etc/pacman.d/mirrorlist; if [[ -f /etc/pacman.d/mirrorlist.pacnew ]]; then rm /etc/pacman.d/mirrorlist.pacnew; fi"
|