1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/collabora_ynh.git synced 2024-09-03 18:16:25 +02:00

Update install

This commit is contained in:
Rafi59 2017-11-11 16:41:23 +01:00 committed by GitHub
parent 5e55e3ad68
commit be6e11af07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,6 +33,16 @@ sudo yunohost app checkurl "${domain}" -a "$app" \
|| ynh_die "Path not available: ${domain}"
# Check whether Nextcloud or Seafile is installed
nextcloud_install=$(collaboraonline_app_check_installation "nextcloud")
seafile_install=$(collaboraonline_app_check_installation "seafile")
if [[ -n "$nextcloud_install" ]]
then
elif [[ -n "$seafile_install" ]]
else
ynh_die "Nextcloud or Seafile is not installed"
fi
sudo apt-get -yy install apt-transport-https
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0C54D189F4BA284D
sudo echo 'deb https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian8 ./' | sudo tee -a /etc/apt/sources.list