diff options
author | Tharre <tharre3@gmail.com> | 2018-01-22 17:51:04 +0100 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2018-01-22 17:51:16 +0100 |
commit | 4a8378a672a327af2467b492ea7b80fec706e036 (patch) | |
tree | b114108556f925a253430ab681c09ce5f8961b0e /arch-system/mirrorupgrade.hook | |
parent | 24cca40e62b6753017920acbd0e63ec678368f36 (diff) | |
download | pkgbuilds-4a8378a672a327af2467b492ea7b80fec706e036.tar.gz pkgbuilds-4a8378a672a327af2467b492ea7b80fec706e036.tar.xz pkgbuilds-4a8378a672a327af2467b492ea7b80fec706e036.zip |
arch-system: initial commit
Diffstat (limited to 'arch-system/mirrorupgrade.hook')
-rw-r--r-- | arch-system/mirrorupgrade.hook | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch-system/mirrorupgrade.hook b/arch-system/mirrorupgrade.hook new file mode 100644 index 0000000..7adfe8d --- /dev/null +++ b/arch-system/mirrorupgrade.hook @@ -0,0 +1,10 @@ +[Trigger] +Operation = Upgrade +Type = Package +Target = pacman-mirrorlist + +[Action] +Description = Updating pacman-mirrorlist with reflector and removing pacnew... +When = PostTransaction +Depends = reflector +Exec = /usr/bin/reflector -p https -l 30 -f 10 -a 24 --score 100 --save /etc/pacman.d/mirrorlist |