dom0-update: clear error marker before downloading new packages (#987)

Otherwise if some package download fails once - further tries will also
report errors.

Fixes qubesos/qubes-issues#987
This commit is contained in:
Marek Marczykowski-Górecki 2015-05-13 02:34:51 +02:00
parent 4cab815317
commit f2b5cf1cc0

View File

@ -120,6 +120,7 @@ fi
if [ -n "$CLEAN" ]; then
rm -f /var/lib/qubes/updates/rpm/*
fi
rm -f /var/lib/qubes/updates/errors
# We should ensure the clocks in Dom0 and UpdateVM are in sync
# becuase otherwise yum might complain about future timestamps