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

Fix install

This commit is contained in:
yalh76 2019-03-01 12:16:39 +01:00
parent 597d0a4147
commit 0dc1c6aca8
3 changed files with 3 additions and 5 deletions

View file

@ -100,8 +100,6 @@ ynh_print_info "Add OnlyOffice repository..."
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5 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 echo "deb http://download.onlyoffice.com/repo/debian squeeze main" | sudo tee /etc/apt/sources.list.d/onlyoffice.list
ynh_package_update
#================================================= #=================================================
# INSTALL DEPENDENCIES # INSTALL DEPENDENCIES
#================================================= #=================================================
@ -191,7 +189,7 @@ echo onlyoffice-documentserver onlyoffice/ds-port select ${port} | sudo debconf-
ynh_print_info "Install OnlyOffice..." ynh_print_info "Install OnlyOffice..."
wget $source wget $source
dpkg -i onlyoffice-documentserver_amd64.deb apt install ./onlyoffice-documentserver_amd64.deb
#================================================= #=================================================
# MODIFY A CONFIG FILE # MODIFY A CONFIG FILE

View file

@ -132,7 +132,7 @@ echo onlyoffice-documentserver onlyoffice/ds-port select ${port} | sudo debconf-
ynh_print_info "Reinstalling OnlyOffice..." ynh_print_info "Reinstalling OnlyOffice..."
wget $source wget $source
dpkg -i onlyoffice-documentserver_amd64.deb apt install ./onlyoffice-documentserver_amd64.deb
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION

View file

@ -128,7 +128,7 @@ echo "deb http://download.onlyoffice.com/repo/debian squeeze main" | sudo tee /e
ynh_print_info "Upgrading OnlyOffice..." ynh_print_info "Upgrading OnlyOffice..."
wget $source 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. ### 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.