#!/bin/sh
grep 'openSUSE Leap 15.3' /etc/os-release || ( echo "This INSTALL.sh is for 'openSUSE Leap 15.3'. Press CTRL-C to abort, ENTER to continue"; read a )
zypper addrepo https://download.owncloud.com/desktop/testpilotcloud/stable/4.2/linux/openSUSE_Leap_15.3/testpilotcloud.repo || exit 1
zypper --non-interactive --gpg-auto-import-keys refresh
zypper --non-interactive install -y testpilotcloud-client
