1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/onlyoffice_ynh.git synced 2024-09-03 19:56:11 +02:00

Fix release

This commit is contained in:
yalh76 2019-03-01 11:27:32 +01:00
parent cbc5ff7178
commit 4c3d33fd69
6 changed files with 11 additions and 20 deletions

View file

@ -9,6 +9,8 @@ If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to
## Overview ## Overview
OnlyOffice Document Server OnlyOffice Document Server
**Shipped version:** 5.2.8
## YunoHost specific features ## YunoHost specific features
#### Supported architectures #### Supported architectures

View file

@ -6,7 +6,7 @@
"en": "OnlyOffice Document Server.", "en": "OnlyOffice Document Server.",
"fr": "Serveur de documents OnlyOffice." "fr": "Serveur de documents OnlyOffice."
}, },
"version": "1.0~ynh1", "version": "5.2.8~ynh1",
"url": "https://www.onlyoffice.com", "url": "https://www.onlyoffice.com",
"license": "GPL-3.0-or-later", "license": "GPL-3.0-or-later",
"maintainer": { "maintainer": {

View file

@ -3,6 +3,8 @@
#================================================= #=================================================
# PERSONAL HELPERS # PERSONAL HELPERS
#================================================= #=================================================
source="https://github.com/ONLYOFFICE/DocumentServer/releases/download/ONLYOFFICE-DocumentServer-5.2.8/onlyoffice-documentserver_amd64.deb"
version="5.2.8"
#================================================= #=================================================
# EXPERIMENTAL HELPERS # EXPERIMENTAL HELPERS

View file

@ -92,14 +92,6 @@ ynh_print_info "Add nodejs repository..."
curl -sL https://deb.nodesource.com/setup_8.x | sudo bash - 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 # INSTALL DEPENDENCIES
#================================================= #=================================================
@ -188,7 +180,8 @@ echo onlyoffice-documentserver onlyoffice/ds-port select ${port} | sudo debconf-
#================================================= #=================================================
ynh_print_info "Install OnlyOffice..." ynh_print_info "Install OnlyOffice..."
ynh_package_install onlyoffice-documentserver wget $source
ynh_package_install onlyoffice-documentserver_amd64.deb
#================================================= #=================================================
# MODIFY A CONFIG FILE # MODIFY A CONFIG FILE

View file

@ -94,14 +94,6 @@ ynh_print_info "Add nodejs repository..."
curl -sL https://deb.nodesource.com/setup_8.x | sudo bash - 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 # REINSTALL DEPENDENCIES
#================================================= #=================================================
@ -131,7 +123,8 @@ echo onlyoffice-documentserver onlyoffice/ds-port select ${port} | sudo debconf-
#================================================= #=================================================
ynh_print_info "Reinstalling OnlyOffice..." ynh_print_info "Reinstalling OnlyOffice..."
ynh_package_install onlyoffice-documentserver wget $source
ynh_package_install onlyoffice-documentserver_amd64.deb
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION

View file

@ -112,7 +112,8 @@ ynh_system_user_create $app $final_path
#================================================= #=================================================
ynh_print_info "Upgrading OnlyOffice..." ynh_print_info "Upgrading OnlyOffice..."
ynh_package_install onlyoffice-documentserver wget $source
ynh_package_install onlyoffice-documentserver_amd64.deb
### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script. ### 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. ### 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.