From 750b45a2d5ca82aedf4c45cb464efe7bb962f66b Mon Sep 17 00:00:00 2001 From: Rafi59 Date: Sat, 3 Nov 2018 10:26:54 +0100 Subject: [PATCH] Remove usage of apt-get --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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