From f72b7a70b5265fdfaec905fdcb661e6a784d6598 Mon Sep 17 00:00:00 2001 From: squeak Date: Thu, 11 Mar 2021 09:47:35 +0100 Subject: [PATCH] Corrected error in restore script. --- scripts/upgrade | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index b9cac24..41db0c4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -110,6 +110,8 @@ ynh_system_user_create --username=$app #================================================= ynh_script_progression --message="Building node dependencies..." --weight=90 +chown -R "$app":"$app" $final_path + pushd "$final_path" ynh_use_nodejs sudo -u $app env $ynh_node_load_PATH npm install --loglevel warn