diff --git a/scripts/install b/scripts/install index a540a97..1bfc45b 100644 --- a/scripts/install +++ b/scripts/install @@ -85,10 +85,10 @@ ynh_app_setting_set $app port $port # ADD COLLABORA REPOSITORY #=============================================== -apt-get -yy install apt-transport-https +ynh_install_app_dependencies apt-transport-https apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0C54D189F4BA284D -if [ "$(lsb_release --codename --short)" != "jessie" ]; then +if [ "$(lsb_release --codename --short)" = "jessie" ]; then echo 'deb https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian8 ./' | sudo tee -a /etc/apt/sources.list.d/collabora.list else