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