From a5d6dd3001b5ce3f47a863327e4ba5fc8c216588 Mon Sep 17 00:00:00 2001 From: AJ Jordan Date: Sat, 18 Aug 2018 01:11:50 -0400 Subject: [PATCH] Fix some references to `yum` instead of `dnf` I didn't change any of the variable names because it made me nervous and I was too lazy to test. --- dom0-updates/qubes-dom0-update | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dom0-updates/qubes-dom0-update b/dom0-updates/qubes-dom0-update index 3babf7b..37b42f2 100755 --- a/dom0-updates/qubes-dom0-update +++ b/dom0-updates/qubes-dom0-update @@ -13,10 +13,10 @@ if [ "$1" = "--help" ]; then echo "it checks for updates for installed packages" echo "" echo "Usage: $0 [--clean] [--check-only] [--gui] []" - echo " --clean clean yum cache before doing anything" + echo " --clean clean dnf cache before doing anything" echo " --check-only only check for updates (no install)" echo " --gui use gpk-update-viewer for update selection" - echo " --action=... use specific yum action, instead of automatic install/update" + echo " --action=... use specific dnf action, instead of automatic install/update" echo " download (and install if run by root) new packages" echo " in dom0 instead of updating" exit @@ -32,7 +32,7 @@ QVMRUN_OPTS= CLEAN= TEMPLATE= TEMPLATE_BACKUP= -# Filter out some yum options and collect packages list +# Filter out some dnf options and collect packages list while [ $# -gt 0 ]; do case "$1" in --enablerepo=*|\ @@ -134,7 +134,7 @@ if [ "$GUI" == "1" ]; then done if [ -z "$guiapp" ]; then - message1="You don't have any supported yum frontend installed." + message1="You don't have any supported dnf frontend installed." message2="Install (using qubes-dom0-update) one of: $apps" if [ "$KDE_FULL_SESSION" ]; then @@ -185,7 +185,7 @@ while pidof -x qubes-receive-updates >/dev/null; do sleep 0.5; done if [ -r /var/lib/qubes/updates/errors ]; then echo "*** ERROR while receiving updates:" >&2 cat /var/lib/qubes/updates/errors >&2 - echo "--> if you want to use packages that were downloaded correctly, use yum directly now" >&2 + echo "--> if you want to use packages that were downloaded correctly, use dnf directly now" >&2 exit 1 fi @@ -221,7 +221,7 @@ elif [ -f /var/lib/qubes/updates/repodata/repomd.xml ]; then $guiapp else dnf check-update - if [ $? -eq 100 ]; then # Run yum with options + if [ $? -eq 100 ]; then # Run dnf with options dnf $YUM_OPTS $YUM_ACTION fi fi