From fdbe1e8cc6d85154c85f48d3dd7cc7631fe3161d Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Sun, 11 Feb 2024 19:15:58 +0100 Subject: [PATCH] fix --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index ee6b284..96e1fbf 100755 --- a/scripts/install +++ b/scripts/install @@ -144,7 +144,7 @@ pushd "$install_dir/live/services/web" #ynh_exec_warn_less npm install ldap-escape ynh_secure_remove --file="$install_dir/live/services/web/node_modules/.cache" # create admin user - ynh_exec_as $app node modules/server-ce-scripts/scripts/create-user --admin --email=admin_mail + ynh_exec_as $app $ynh_node_load_PATH modules/server-ce-scripts/scripts/create-user --admin --email=admin_mail popd chmod 750 "$install_dir/live"