From 7f4cc533677e033a3e11f1d326dcdba3ffdded1d Mon Sep 17 00:00:00 2001 From: lapineige Date: Sat, 8 Jul 2023 22:08:24 +0200 Subject: [PATCH] use npm_node --- scripts/remove | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/remove b/scripts/remove index 33718bf..51cd41b 100755 --- a/scripts/remove +++ b/scripts/remove @@ -13,7 +13,7 @@ source /usr/share/yunohost/helpers # RUNNER REGISTRATION #================================================= -ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$install_dir/config" NODE_ENV=production $ynh_npm peertube-runner unregister --url $peertube_url --registration-token $runner_token --runner-name $app\_$(hostname) +ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$install_dir/config" NODE_ENV=production $ynh_node peertube-runner unregister --url $peertube_url --registration-token $runner_token --runner-name $app\_$(hostname) #================================================= # REMOVE SYSTEM CONFIGURATIONS