From 2d97c3399e4e57e649471977cba38adfc9a5abce Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sat, 3 Sep 2011 16:43:22 +0200 Subject: [PATCH] dom0/qvm-dom0-upgrade: Run yum after downloading new packages yum will ask for confirmation. --- dom0/qvm-tools/qvm-dom0-upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom0/qvm-tools/qvm-dom0-upgrade b/dom0/qvm-tools/qvm-dom0-upgrade index 6cb16922..90fef29e 100755 --- a/dom0/qvm-tools/qvm-dom0-upgrade +++ b/dom0/qvm-tools/qvm-dom0-upgrade @@ -19,7 +19,7 @@ qvm-run --pass_io $UPDATEVM "/usr/lib/qubes/qubes_download_dom0_updates.sh $*" | # Wait for download completed while pidof -x qubes-receive-updates >/dev/null; do sleep 0.5; done if [ $# -gt 0 ]; then - echo "You can now install downloaded packages (eg. using yum)" + yum install $@ elif [ -f /var/lib/qubes/updates/repodata/repomd.xml ]; then yum check-update if [ $? -eq 100 ]; then