mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-23 21:20:50 +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
|