From b7b11933cc62b7142542787fce3f91870006dfff Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 1 Mar 2019 11:32:49 +0100 Subject: [PATCH] Fix .deb install --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 46aba29..ad78653 100644 --- a/scripts/install +++ b/scripts/install @@ -181,7 +181,7 @@ echo onlyoffice-documentserver onlyoffice/ds-port select ${port} | sudo debconf- ynh_print_info "Install OnlyOffice..." wget $source -ynh_package_install onlyoffice-documentserver_amd64.deb +dpkg -i onlyoffice-documentserver_amd64.deb #================================================= # MODIFY A CONFIG FILE diff --git a/scripts/restore b/scripts/restore index caf8c67..dc588a5 100644 --- a/scripts/restore +++ b/scripts/restore @@ -124,7 +124,7 @@ echo onlyoffice-documentserver onlyoffice/ds-port select ${port} | sudo debconf- ynh_print_info "Reinstalling OnlyOffice..." wget $source -ynh_package_install onlyoffice-documentserver_amd64.deb +dpkg -i onlyoffice-documentserver_amd64.deb #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index e467898..9995559 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -113,7 +113,7 @@ ynh_system_user_create $app $final_path ynh_print_info "Upgrading OnlyOffice..." wget $source -ynh_package_install onlyoffice-documentserver_amd64.deb +dpkg -i onlyoffice-documentserver_amd64.deb ### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script. ### And create a backup of this file if the checksum is different. So the file will be backed up if the admin had modified it.