From b06c29c6dc3fe4c5c8bc511a67b07222b1f52555 Mon Sep 17 00:00:00 2001 From: Olivier MEDOC Date: Sat, 16 Jan 2016 11:52:49 +0100 Subject: [PATCH] update qubes.InstallUpdateGUI to support archlinux --- qubes-rpc/qubes.InstallUpdatesGUI | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qubes-rpc/qubes.InstallUpdatesGUI b/qubes-rpc/qubes.InstallUpdatesGUI index 52a22e1..4ad107e 100755 --- a/qubes-rpc/qubes.InstallUpdatesGUI +++ b/qubes-rpc/qubes.InstallUpdatesGUI @@ -8,6 +8,8 @@ if [ -e /etc/redhat-release ]; then xterm -title update -e su -l -c 'yum update; echo Done. Press Enter to exit.; read x' elif [ -e /etc/debian_version ]; then xterm -title update -e su -l -c 'apt-get update && apt-get -V dist-upgrade; echo Done. Press Enter to exit.; read x' +elif [ -e /etc/arch-release ]; then + xterm -title update -e su -l -c 'pacman -Suy; echo Done. Press Enter to exit.; read x' else xterm -title update -e su -l -c 'echo Unsupported distribution, install updates manually; bash -i' fi