From e45bfd5cf7df57e7ef367e31d72d720f861926fc Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 23 Dec 2020 22:35:00 +0100 Subject: [PATCH] fix --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 059be9a..c332e71 100644 --- a/scripts/install +++ b/scripts/install @@ -124,7 +124,7 @@ ynh_system_user_create --username=$app --home_dir=$final_path pushd "$final_path" || ynh_die ynh_use_nodejs - ynh_exec_as $app bin/run.sh + ynh_exec_as $app env "$ynh_node_load_PATH" bin/run.sh # ynh_exec_as $app env "$ynh_node_load_PATH" bin/installDeps.sh popd || ynh_die diff --git a/scripts/upgrade b/scripts/upgrade index 3c672c9..de61c87 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -84,7 +84,7 @@ then # Download, check integrity, uncompress and patch the source from app.src pushd "$final_path" git pull origin - ynh_exec_as $app bin/run.sh + ynh_exec_as $app env "$ynh_node_load_PATH" bin/run.sh popd fi