Created
April 6, 2020 14:01
-
-
Save GinoAvanzini/df5d25878231d985361a77314bdfda84 to your computer and use it in GitHub Desktop.
Pacman hook for cache cleanup. It goes on /etc/pacman.d/hooks Extracted from the Arch wiki https://bbs.archlinux.org/viewtopic.php?pid=1694743#p1694743
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Trigger] | |
Operation = Upgrade | |
Operation = Install | |
Operation = Remove | |
Type = Package | |
Target = * | |
[Action] | |
Description = Cleaning pacman cache... | |
When = PostTransaction | |
Exec = /usr/bin/paccache -rk2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment