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

(cherry picked from commit f2b5cf1cc0)
release2
Marek Marczykowski-Górecki 9 years ago
parent 690e10ffd4
commit 3cbe2fa7e7

@ -112,6 +112,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