dom0-update: remove cached metadata when --clean is used

Fixes QubesOS/qubes-issues#1748
This commit is contained in:
Marek Marczykowski-Górecki 2016-02-26 13:20:16 +01:00
parent c87d6c5cb7
commit 6c7443223b
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -119,6 +119,7 @@ fi
if [ -n "$CLEAN" ]; then if [ -n "$CLEAN" ]; then
rm -f /var/lib/qubes/updates/rpm/* rm -f /var/lib/qubes/updates/rpm/*
rm -f /var/lib/qubes/updates/repodata/*
fi fi
rm -f /var/lib/qubes/updates/errors rm -f /var/lib/qubes/updates/errors