1
0
mirror of https://github.com/brunofontes/linuxShortcuts.git synced 2024-12-18 21:20:44 +00:00
linuxShortcuts/Pacman/clean_package_cache.hook

12 lines
250 B
Plaintext
Raw Normal View History

# Copy this file into /etc/pacman.d/hooks folder
[Trigger]
Operation = Upgrade
Operation = Install
Operation = Remove
Type = Package
Target = *
[Action]
Description = Bruno: Cleaning pacman cache...
When = PostTransaction
Exec = /usr/bin/paccache -r