dom0-updates: remove "updates pending" flag also when no actual updates were found

This allows to clear the flag when for some reason it wasn't cleared
immediately after installing updates.

Fixes QubesOS/qubes-issues#1511

(cherry picked from commit 6921400a7a)
release3.0
Marek Marczykowski-Górecki 9 years ago
parent 137ed7d331
commit cdc1c719d4
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

@ -169,5 +169,6 @@ elif [ -f /var/lib/qubes/updates/repodata/repomd.xml ]; then
fi
yum -q check-update && rm -f $UPDATES_STAT_FILE
else
yum -q check-update && rm -f $UPDATES_STAT_FILE
echo "No updates avaliable" >&2
fi

Loading…
Cancel
Save