diff --git a/scripts/install b/scripts/install index d3d39f0..219826c 100644 --- a/scripts/install +++ b/scripts/install @@ -100,8 +100,6 @@ 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 -ynh_package_update - #================================================= # INSTALL DEPENDENCIES #================================================= @@ -191,7 +189,7 @@ echo onlyoffice-documentserver onlyoffice/ds-port select ${port} | sudo debconf- ynh_print_info "Install OnlyOffice..." wget $source -dpkg -i onlyoffice-documentserver_amd64.deb +apt install ./onlyoffice-documentserver_amd64.deb #================================================= # MODIFY A CONFIG FILE diff --git a/scripts/restore b/scripts/restore index 0b13ac4..6b4a36b 100644 --- a/scripts/restore +++ b/scripts/restore @@ -132,7 +132,7 @@ echo onlyoffice-documentserver onlyoffice/ds-port select ${port} | sudo debconf- ynh_print_info "Reinstalling OnlyOffice..." wget $source -dpkg -i onlyoffice-documentserver_amd64.deb +apt install ./onlyoffice-documentserver_amd64.deb #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index 0fb2214..ac82c80 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -128,7 +128,7 @@ echo "deb http://download.onlyoffice.com/repo/debian squeeze main" | sudo tee /e ynh_print_info "Upgrading OnlyOffice..." wget $source -dpkg -i onlyoffice-documentserver_amd64.deb +apt install ./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.