mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-24 05:24:56 +00:00
Bruno Fontes
17944a0867
Included hooks to delete old cache files from pacman, to avoid /var folder to stay full
12 lines
250 B
Plaintext
12 lines
250 B
Plaintext
# Copy this file into /etc/pacman.d/hooks folder
|
|
[Trigger]
|
|
Operation = Upgrade
|
|
Operation = Install
|
|
Operation = Remove
|
|
Type = Package
|
|
Target = *
|
|
[Action]
|
|
Description = Bruno: Cleaning pacman cache...
|
|
When = PostTransaction
|
|
Exec = /usr/bin/paccache -r
|