From 3050852cbb73dadc1aef899eb83055bf567a66ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 12 Nov 2016 22:30:37 +0100 Subject: [PATCH] Prefer powerpill to update Archlinux VM This is the recommended way to connect through update proxy. --- qubes-rpc/qubes.InstallUpdatesGUI | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qubes-rpc/qubes.InstallUpdatesGUI b/qubes-rpc/qubes.InstallUpdatesGUI index 8f2cef7..5e4c920 100755 --- a/qubes-rpc/qubes.InstallUpdatesGUI +++ b/qubes-rpc/qubes.InstallUpdatesGUI @@ -10,6 +10,8 @@ elif [ -e /etc/redhat-release -a -x /usr/bin/yum ]; then update_cmd='yum update' elif [ -e /etc/debian_version ]; then update_cmd='apt-get update && apt-get -V dist-upgrade' +elif [ -e /etc/arch-release -a -x /usr/bin/powerpill ]; then + update_cmd='powerpill -Suy' elif [ -e /etc/arch-release ]; then update_cmd='pacman -Suy' else