mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
remove all cached packages
This commit is contained in:
parent
96e110d489
commit
adcc63d5f3
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ _cleanup() {
|
|||
# remove packages from cache
|
||||
#shellcheck disable=SC2013
|
||||
for i in $(grep -w -E 'reinstalled|installed|upgraded' /var/log/pacman.log | cut -d ' ' -f 4); do
|
||||
rm -rf "${_CACHEDIR}/${i}"-[0-9]*
|
||||
rm -rf "${_CACHEDIR}/${i}"-*
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue