#!/bin/sh
set -e
grep 'Ubuntu 23.10' /etc/os-release || ( echo "This INSTALL.sh is for 'Ubuntu 23.10'. Press CTRL-C to abort, ENTER to continue"; read a )
apt-get update -y && apt-get install -y wget gnupg curl binutils apt-transport-https
wget -nv https://download.owncloud.com/desktop/testpilotcloud/stable/5.2.0.12727/linux/Ubuntu_23.10/Release.key -O - | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/testpilotcloud-client.gpg > /dev/null
echo 'deb https://download.owncloud.com/desktop/testpilotcloud/stable/5.2.0.12727/linux/Ubuntu_23.10/ /' > /etc/apt/sources.list.d/testpilotcloud-client.list
apt-get update -q
apt-get install -y testpilotcloud-client
