From b0f6d90c30305a13d012fa1ce0f9d91d383218a8 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Tue, 31 Oct 2023 15:39:35 +0100 Subject: [PATCH] fix restore nodejs --- scripts/restore | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 97204ce..994dbb2 100755 --- a/scripts/restore +++ b/scripts/restore @@ -32,11 +32,14 @@ ynh_script_progression --message="Restoring the app main directory..." --weight= ynh_restore_file --origin_path="$install_dir" +pushd $install_dir +ynh_use_nodejs +popd + chmod 750 "$install_dir" chmod -R o-rwx "$install_dir" chown -R $app:$app "$install_dir" - #================================================= # RESTORE SYSTEM CONFIGURATIONS #=================================================