docker-archlinux-daily/rootfs/usr/share/libalpm/hooks/package-cleanup.hook
Stefan Agner 8dfabe4056 initial commit
Create Arch Linux ARM images using multi-stage Dockerfile. This
works well with binfmt emulation and allows to generate images
from scratch.

Inspiration taken from:
- https://github.com/archlinux/archlinux-docker
- https://github.com/lopsided98/archlinux
2019-01-23 00:31:17 +01:00

12 lines
217 B
Plaintext

[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