This repository has been archived on 2023-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/.config/pacman/hooks/cache_cleanup.hook
swytch 2df9d4c6fb fix: update pacman cache cleanup hook
add pacman-contrib dependency
fix description to match other hooks' style
2020-06-20 11:39:37 +02:00

13 lines
249 B
Plaintext

[Trigger]
Operation = Remove
Operation = Install
Operation = Upgrade
Type = Package
Target = *
[Action]
Description = Keep the last cache and the currently installed...
Depends = pacman-contrib
When = PostTransaction
Exec = /usr/bin/paccache -rvk2