From 6921400a7a46c77d311278bf06f807fe6dc5d976 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 13 Dec 2015 02:11:56 +0100 Subject: [PATCH] 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 --- dom0-updates/qubes-dom0-update | 1 + 1 file changed, 1 insertion(+) diff --git a/dom0-updates/qubes-dom0-update b/dom0-updates/qubes-dom0-update index 8d549b7..00fbc90 100755 --- a/dom0-updates/qubes-dom0-update +++ b/dom0-updates/qubes-dom0-update @@ -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