diff --git a/scripts/restore b/scripts/restore index 155acb7..c916455 100644 --- a/scripts/restore +++ b/scripts/restore @@ -58,6 +58,13 @@ ynh_script_progression --message="Restoring the app main directory..." ynh_restore_file --origin_path="$final_path" +#================================================= +# RESTORE THE CONFIG +#================================================= +ynh_script_progression --message="Restoring the config path..." + +ynh_restore_file --origin_path="$config_path" + #================================================= # RECREATE THE DEDICATED USER #================================================= @@ -88,13 +95,6 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version # Install Yarn ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ stable main" --package="yarn" --key="https://dl.yarnpkg.com/debian/pubkey.gpg" -#================================================= -# RESTORE THE CONFIG -#================================================= -ynh_script_progression --message="Restoring the config path..." - -ynh_restore_file --origin_path="$config_path" - #================================================= # RESTORE SYSTEMD #=================================================