dom0-updates: add a message explaining yum deprecated warning

Thanks @axon-qubes for the idea.

Fixes QubesOS/qubes-issues#1574
This commit is contained in:
Marek Marczykowski-Górecki 2016-01-04 02:10:27 +01:00
parent 89d5f8990f
commit c4ff490844

View File

@ -52,6 +52,8 @@ fi
YUM="yum"
# prefer yum-deprecated over dnf, because of still missing features in dnf (at least --downloaddir)
if type dnf >/dev/null 2>&1 && type yum-deprecated >/dev/null 2>&1; then
echo "(Note: dnf will complain that the yum command has been deprecated." >&2
echo "This message is safe to ignore.)" >&2
YUM="yum-deprecated"
fi