#!/bin/sh
set -e
grep 'Ubuntu 23.04' /etc/os-release || ( echo "This INSTALL.sh is for 'Ubuntu 23.04'. Press CTRL-C to abort, ENTER to continue"; read a )
apt-get update -y && apt-get install -y wget gnupg2 curl binutils apt-transport-https
wget -nv https://qa-file-host.client-desktop-playground.owncloud.works/5.x/linux/Ubuntu_23.04/Release.key -O - | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/owncloud.gpg > /dev/null
echo 'deb https://qa-file-host.client-desktop-playground.owncloud.works/5.x/linux/Ubuntu_23.04/ /' > /etc/apt/sources.list.d/qa.list
apt-get update -q
apt-get install -y qa-client
