archlinux/rootfs/usr/share/libalpm/hooks/package-cleanup.hook

12 lines
238 B
Text
Raw Normal View History

[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = *
[Action]
Description = Cleaning up package cache...
Depends = coreutils
When = PostTransaction
Exec = /usr/bin/rm -rf /var/cache/pacman/pkg /var/lib/pacman/sync