# Pacman hook to automatically run paccache -r with pacman # This hook is disabled by default, it can be enabled by # renaming this file from paccache.hook.bak to paccache.hook [Trigger] Operation = Upgrade Operation = Install Operation = Remove Type = Package Target = * [Action] Description = Cleaning pacman cache with paccache ... When = PostTransaction Exec = /usr/bin/paccache -r