From ec56c5096417be03881b12f3f773aa2197cb20af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 6 Jun 2024 16:42:23 +0200 Subject: [PATCH] Update restore --- scripts/restore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/restore b/scripts/restore index e785127..8a49d21 100644 --- a/scripts/restore +++ b/scripts/restore @@ -28,6 +28,10 @@ ynh_script_progression --message="Restoring system configurations related to $ap ynh_install_nodejs --nodejs_version=$nodejs_version +pushd "$install_dir" + ynh_exec_warn_less env $ynh_node_load_PATH corepack enable && COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare pnpm@latest --activate +popd + ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" mkdir -p /var/log/$app