From c4ff490844edc6e0da11648a13730feef1ebf553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 4 Jan 2016 02:10:27 +0100 Subject: [PATCH] dom0-updates: add a message explaining yum deprecated warning Thanks @axon-qubes for the idea. Fixes QubesOS/qubes-issues#1574 --- misc/qubes-download-dom0-updates.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc/qubes-download-dom0-updates.sh b/misc/qubes-download-dom0-updates.sh index df3dff3..566c608 100755 --- a/misc/qubes-download-dom0-updates.sh +++ b/misc/qubes-download-dom0-updates.sh @@ -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