linuxShortcuts/Pacman/clean_uninstalled_packages.hooks

10 lines
230 B
Plaintext
Raw Normal View History

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