From 59d7924c168555a9b4e1214359910ce93ca52c6e Mon Sep 17 00:00:00 2001 From: lapineige Date: Sat, 8 Jul 2023 22:40:49 +0200 Subject: [PATCH] fix node_module --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 2edc1ba..4c471f2 100755 --- a/scripts/install +++ b/scripts/install @@ -66,8 +66,8 @@ ynh_script_progression --message="Registering the runner on Peertube server..." pushd "$install_dir" ynh_use_nodejs - ynh_exec_warn ynh_exec_as $app echo $(ls -a "$install_dir/nodes_modules") - ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$install_dir/config" NODE_ENV=production $ynh_node "$install_dir/nodes_modules/.bin/peertube-runner" register --url $peertube_url --registration-token $runner_token --runner-name $app\_$(hostname) + ynh_exec_warn ynh_exec_as $app echo $(ls -a "$install_dir/node_modules") + ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$install_dir/config" NODE_ENV=production $ynh_node "$install_dir/node_modules/.bin/peertube-runner" register --url $peertube_url --registration-token $runner_token --runner-name $app\_$(hostname) popd #=================================================