From 7b400e4ddbfd59cce22af86f3f3b9213d7a430e5 Mon Sep 17 00:00:00 2001 From: lapineige Date: Sun, 25 Jun 2023 21:31:31 +0200 Subject: [PATCH] fix install_dir syntax --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 5b9fb7b..26d3410 100755 --- a/scripts/install +++ b/scripts/install @@ -18,9 +18,9 @@ ynh_script_progression --message="Installing Peertube remote runner npm module.. chown -R $app:www-data "$install_dir" -pushd "$final_path" +pushd "$install_dir" ynh_use_nodejs - ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$final_path/config" NODE_ENV=production $ynh_npm install -g @peertube/peertube-runner + ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$install_dir/config" NODE_ENV=production $ynh_npm install -g @peertube/peertube-runner popd #=================================================