setup-cockpit/roles/pacman/files/hooks/paccache_uninstalled.hook

12 lines
252 B
Text

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