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
This commit is contained in:
parent
cb6a52a652
commit
6921400a7a
@ -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