fix install_dir syntax

This commit is contained in:
lapineige 2023-06-25 21:31:31 +02:00 committed by GitHub
parent b8a331ded8
commit 7b400e4ddb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
#=================================================