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 #=================================================