From 20dd92d62a4e35ca742a5692b878ae952bfbf63c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 27 Feb 2023 09:59:52 +0100 Subject: [PATCH] Update install --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 46eaa7e..aa6bcd3 100644 --- a/scripts/install +++ b/scripts/install @@ -99,7 +99,8 @@ if [ $enable_extensions -eq 1 ]; then for user in $(ynh_user_list); do JUPYTERLAB_DIR="$(getent passwd $user | cut -d: -f6)/.local/share/$app/lab" node_path="$nodejs_path:$(sudo -u $user sh -c 'echo $PATH')" - sudo -u $user env "PATH=$node_path" "$install_dir/.venv/bin/jupyter" lab build --app-dir="$JUPYTERLAB_DIR" + #sudo -u $user + env "PATH=$node_path" "$install_dir/.venv/bin/jupyter" lab build --app-dir="$JUPYTERLAB_DIR" done fi