infrastructure/ansible/roles/paccache/files/paccache.hook
2022-11-17 20:36:58 +00:00

12 lines
210 B
Plaintext

[Trigger]
Operation = Upgrade
Operation = Install
Operation = Remove
Type = Package
Target = *
[Action]
Description = Cleaning pacman cache...
When = PostTransaction
Exec = /usr/bin/paccache --remove --keep 2