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:
parent
5e55e3ad68
commit
be6e11af07
1 changed files with 10 additions and 0 deletions
|
@ -33,6 +33,16 @@ sudo yunohost app checkurl "${domain}" -a "$app" \
|
||||||
|| ynh_die "Path not available: ${domain}"
|
|| 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-get -yy install apt-transport-https
|
||||||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0C54D189F4BA284D
|
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
|
sudo echo 'deb https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian8 ./' | sudo tee -a /etc/apt/sources.list
|
||||||
|
|
Loading…
Reference in a new issue