mirror of
https://github.com/YunoHost-Apps/onlyoffice_ynh.git
synced 2024-09-03 19:56:11 +02:00
fix restoration
This commit is contained in:
parent
5096d29455
commit
245314f508
1 changed files with 7 additions and 7 deletions
|
@ -61,13 +61,6 @@ ynh_system_user_create --username=$app
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC RESTORATION
|
# SPECIFIC RESTORATION
|
||||||
#=================================================
|
|
||||||
# RESTORE THE CONFIGURATION
|
|
||||||
#=================================================
|
|
||||||
ynh_print_info --message="Restoring the configuration..."
|
|
||||||
|
|
||||||
ynh_restore_file --origin_path="/etc/onlyoffice"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# ADD NODEJS REPOSITORY
|
# ADD NODEJS REPOSITORY
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -119,6 +112,13 @@ ynh_print_info --message="Reinstalling OnlyOffice..."
|
||||||
wget $source
|
wget $source
|
||||||
apt install -y ./onlyoffice-documentserver_amd64.deb
|
apt install -y ./onlyoffice-documentserver_amd64.deb
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# RESTORE THE CONFIGURATION
|
||||||
|
#=================================================
|
||||||
|
ynh_print_info --message="Restoring the configuration..."
|
||||||
|
|
||||||
|
ynh_restore_file --origin_path="/etc/onlyoffice"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue