mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
also add reinstalled
This commit is contained in:
parent
12bdf9d093
commit
ce84ba0435
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ _cleanup() {
|
|||
find /usr/share/i18n/charmaps ! -name 'UTF-8.gz' -delete &>"${_NO_LOG}"
|
||||
# remove packages from cache
|
||||
#shellcheck disable=SC2013
|
||||
for i in $(grep -w 'installed' /var/log/pacman.log | cut -d ' ' -f 4); do
|
||||
for i in $(grep -w -E 'reinstalled|installed' /var/log/pacman.log | cut -d ' ' -f 4); do
|
||||
rm -rf "${_CACHEDIR}/${i}"-[0-9]*
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue