dom0-update: do not output scary messagge about missing repomd.xml

... when no updates are available.

Fixes QubesOS/qubes-issues#1685
This commit is contained in:
Marek Marczykowski-Górecki 2016-02-03 14:14:14 +01:00
parent fc2e8264d4
commit 2198986d5c
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -169,6 +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
rm -f $UPDATES_STAT_FILE
echo "No updates avaliable" >&2
fi