dotfiles/root/usr/share/libalpm/hooks/paccache.hook.bak
2021-04-01 19:27:56 +02:00

16 lines
388 B
Plaintext

# 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