dom0-updates: fix cleaning downloaded packages
Since migration to dnf, remove dnf's cache too. QubesOS/qubes-issues#4225
This commit is contained in:
parent
c476ae7cdb
commit
9ef52e4303
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user