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:
parent
4cab815317
commit
f2b5cf1cc0
@ -120,6 +120,7 @@ fi
|
|||||||
if [ -n "$CLEAN" ]; then
|
if [ -n "$CLEAN" ]; then
|
||||||
rm -f /var/lib/qubes/updates/rpm/*
|
rm -f /var/lib/qubes/updates/rpm/*
|
||||||
fi
|
fi
|
||||||
|
rm -f /var/lib/qubes/updates/errors
|
||||||
|
|
||||||
# We should ensure the clocks in Dom0 and UpdateVM are in sync
|
# We should ensure the clocks in Dom0 and UpdateVM are in sync
|
||||||
# becuase otherwise yum might complain about future timestamps
|
# becuase otherwise yum might complain about future timestamps
|
||||||
|
Loading…
Reference in New Issue
Block a user