dotfiles/root/usr/share/libalpm/hooks/paccache.hook.bak

16 lines
388 B
Plaintext
Raw Normal View History

2021-04-01 17:27:56 +00:00
# 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