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

11 lines
210 B
Text

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