From 93cdc8ec4b7a8935341d50e8d8a017cdd332a33d Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 30 May 2020 21:03:54 +0200 Subject: [PATCH] Reorder restore steps --- scripts/restore | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 #=================================================