dom0-update: do not output scary messagge about missing repomd.xml
... when no updates are available.
Fixes QubesOS/qubes-issues#1685
(cherry picked from commit 2198986d5c
)
This commit is contained in:
parent
85b848393d
commit
d5ccd02fa0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user