Update pacman reflector hook
This commit is contained in:
parent
1abd854ea6
commit
16c3d8937f
1 changed files with 1 additions and 1 deletions
|
@ -7,4 +7,4 @@ Target = pacman-mirrorlist
|
|||
Description = Updating pacman-mirrorlist with reflector and removing pacnew...
|
||||
When = PostTransaction
|
||||
Depends = reflector
|
||||
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"
|
||||
Exec = /bin/sh -c 'systemctl start reflector.service; if [ -f /etc/pacman.d/mirrorlist.pacnew ]; then rm /etc/pacman.d/mirrorlist.pacnew; fi'
|
Loading…
Reference in a new issue