setup-cockpit/dotfiles/pacman_hooks/paccache.hook

12 lines
227 B
Text

[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = *
[Action]
Description = Cleaning the pacman cache...
When = PostTransaction
Exec = /usr/bin/paccache -rvk2
Depends = pacman-contrib