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
)
This commit is contained in:
parent
137ed7d331
commit
cdc1c719d4
@ -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…
Reference in New Issue
Block a user