local-arch-repo/hooks/1.cleanup_cache.hook

11 lines
240 B
Plaintext
Raw Permalink Normal View History

2022-01-23 04:30:57 +01:00
[Trigger]
Type = Package
2022-01-31 19:39:16 +01:00
#Operation = Remove
2022-01-23 04:30:57 +01:00
Operation = Install
Operation = Upgrade
Target = *
[Action]
Description = Removing obsolete cached package files (keeping the latest two)...
When = PostTransaction
Exec = /usr/bin/paccache -rvk2