dom0-updates: fix cleaning downloaded packages

Since migration to dnf, remove dnf's cache too.

QubesOS/qubes-issues#4225
This commit is contained in:
Marek Marczykowski-Górecki 2019-06-17 19:54:44 +02:00
parent c476ae7cdb
commit 9ef52e4303
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -84,7 +84,7 @@ if [ "$CLEAN" = "1" ]; then
# shellcheck disable=SC2086
$YUM $OPTS clean all
rm -f "$DOM0_UPDATES_DIR"/packages/*
rm -rf "$DOM0_UPDATES_DIR"/var/cache/yum/*
rm -rf "$DOM0_UPDATES_DIR"/var/cache/*
fi
# just check for updates, but don't download any package