From 39cb9d7640e1d569681b9d93835f44ca0ab9a1e2 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 2 Sep 2021 09:48:50 +0200 Subject: [PATCH] Update install --- scripts/install | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 5908d1f..9105ef5 100644 --- a/scripts/install +++ b/scripts/install @@ -140,8 +140,9 @@ setup="{ }" #ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $final_path/nodebb setup "${setup}" - -ynh_exec_as $app env $ynh_node_load_PATH node $final_path/app --setup "${setup}" --series | tee -a $install_log +pushd $final_path + ynh_exec_as $app env $ynh_node_load_PATH node $final_path/app --setup "${setup}" --series | tee -a $install_log +popd #================================================= # NGINX CONFIGURATION