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
pull/1/head
Marek Marczykowski-Górecki 9 years ago
parent 4cab815317
commit f2b5cf1cc0

@ -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

Loading…
Cancel
Save