mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-27 19:21:26 +00:00
Bruno Fontes
17944a0867
Included hooks to delete old cache files from pacman, to avoid /var folder to stay full
10 lines
230 B
Plaintext
10 lines
230 B
Plaintext
# 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
|