Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
hashworks
archlinux-docker
Commits
601fcd25
Commit
601fcd25
authored
Apr 08, 2017
by
Pierre Schmitz
Browse files
Cleanup the package cache after install or upgrade
parent
f5bf444d
Changes
2
Hide whitespace changes
Inline
Side-by-side
rootfs/etc/pacman.conf
View file @
601fcd25
[
options
]
CacheDir
= /
tmp
/
pacman
/
pkg
Architecture
=
auto
SigLevel
=
Required
DatabaseOptional
LocalFileSigLevel
=
Optional
...
...
rootfs/usr/share/libalpm/hooks/package-cleanup.hook
0 → 100644
View file @
601fcd25
[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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment