1 2 3 4 5 6 7 8 9 10 11
[Trigger] Type = Package Operation = Upgrade Target= * [Action] Description = Cleaning pacman cache... When = PostTransaction Depends = pacman-contrib Depends = sed Exec = /usr/bin/bash -c "paccache -rk2 | sed '/^$/d'"