From d7a43b92d084108a5bc3dd4bed1b7aed5ba84156 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 1 Mar 2019 11:39:31 +0100 Subject: [PATCH] Add documentserver repository --- scripts/install | 8 ++++++++ scripts/restore | 8 ++++++++ scripts/upgrade | 15 +++++++++++++++ 3 files changed, 31 insertions(+) diff --git a/scripts/install b/scripts/install index ad78653..8bf82dd 100644 --- a/scripts/install +++ b/scripts/install @@ -92,6 +92,14 @@ ynh_print_info "Add nodejs repository..." curl -sL https://deb.nodesource.com/setup_8.x | sudo bash - +#================================================= +# ADD ONLYOFFICE REPOSITORY +#================================================= +ynh_print_info "Add OnlyOffice repository..." + +apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5 +echo "deb http://download.onlyoffice.com/repo/debian squeeze main" | sudo tee /etc/apt/sources.list.d/onlyoffice.list + #================================================= # INSTALL DEPENDENCIES #================================================= diff --git a/scripts/restore b/scripts/restore index dc588a5..0b13ac4 100644 --- a/scripts/restore +++ b/scripts/restore @@ -94,6 +94,14 @@ ynh_print_info "Add nodejs repository..." curl -sL https://deb.nodesource.com/setup_8.x | sudo bash - +#================================================= +# ADD ONLYOFFICE REPOSITORY +#================================================= +ynh_print_info "Add OnlyOffice repository..." + +apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5 +echo "deb http://download.onlyoffice.com/repo/debian squeeze main" | sudo tee /etc/apt/sources.list.d/onlyoffice.list + #================================================= # REINSTALL DEPENDENCIES #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 9995559..0fb2214 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -107,6 +107,21 @@ ynh_system_user_create $app $final_path #================================================= # SPECIFIC UPGRADE +#================================================= +# ADD NODEJS REPOSITORY +#================================================= +ynh_print_info "Add nodejs repository..." + +curl -sL https://deb.nodesource.com/setup_8.x | sudo bash - + +#================================================= +# ADD ONLYOFFICE REPOSITORY +#================================================= +ynh_print_info "Add OnlyOffice repository..." + +apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5 +echo "deb http://download.onlyoffice.com/repo/debian squeeze main" | sudo tee /etc/apt/sources.list.d/onlyoffice.list + #================================================= # UPGRADE ONLYOFFICE #=================================================