#!/bin/sh
set -e
grep 'Debian 11' /etc/os-release || ( echo "This INSTALL.sh is for 'Debian 11'. 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/4.x/linux/Debian_11/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/4.x/linux/Debian_11/ /' > /etc/apt/sources.list.d/qa.list
apt-get update -q
apt-get install -y qa-client
