Added paccache hooks

master
Brainwrecked Tech 5 years ago
parent 0b2fad6c02
commit 6e14cb7cb6

@ -0,0 +1,12 @@
[Trigger]
Type = Package
Operation = Remove
Operation = Install
Operation = Upgrade
Target = *
[Action]
Description = Removing old installed packages from pacman cache...
Depends = pacman-contrib
When = PostTransaction
Exec = /usr/bin/paccache -rk2

@ -0,0 +1,12 @@
[Trigger]
Type = Package
Operation = Remove
Operation = Install
Operation = Upgrade
Target = *
[Action]
Description = Removing uninstalled packages from pacman cache...
Depends = pacman-contrib
When = PostTransaction
Exec = /usr/bin/paccache -ruk0
Loading…
Cancel
Save