From 245314f50886078dc66054feeaa4c971e9a372b7 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 20 May 2019 20:15:25 +0200 Subject: [PATCH] fix restoration --- scripts/restore | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/restore b/scripts/restore index 09baabb..a1f06fd 100644 --- a/scripts/restore +++ b/scripts/restore @@ -61,13 +61,6 @@ ynh_system_user_create --username=$app #================================================= # SPECIFIC RESTORATION -#================================================= -# RESTORE THE CONFIGURATION -#================================================= -ynh_print_info --message="Restoring the configuration..." - -ynh_restore_file --origin_path="/etc/onlyoffice" - #================================================= # ADD NODEJS REPOSITORY #================================================= @@ -119,6 +112,13 @@ ynh_print_info --message="Reinstalling OnlyOffice..." wget $source 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 #=================================================