Added hook to move completed AUR packages.
This commit is contained in:
parent
5108d3b449
commit
7e72580486
10
mvaurpkg.hook
Normal file
10
mvaurpkg.hook
Normal 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 \;"
|
Loading…
x
Reference in New Issue
Block a user