Added hook to move completed AUR packages.

This commit is contained in:
Brainwrecked Tech 2021-01-15 22:59:18 -05:00
parent 5108d3b449
commit 7e72580486

10
mvaurpkg.hook Normal file
View File

@ -0,0 +1,10 @@
[Trigger]
Type=Package
Operation=Install
Operation=Upgrade
Target=*
[Action]
Description=Moving completed AUR packages...
When=PostTransaction
Exec=/usr/bin/sh -c "find /var/lib/pacman/aur \( -name '*.pkg.tar.zst' -o -name '*.pkg.tar.xz' \) -exec mv '{}' /var/cache/pacman/aur \;"