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:
parent
89d5f8990f
commit
c4ff490844
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user