mirror of
https://github.com/YunoHost-Apps/jupyterlab_ynh.git
synced 2024-09-03 19:26:35 +02:00
Update install
This commit is contained in:
parent
7431a6393f
commit
20dd92d62a
1 changed files with 2 additions and 1 deletions
|
@ -99,7 +99,8 @@ if [ $enable_extensions -eq 1 ]; then
|
||||||
for user in $(ynh_user_list); do
|
for user in $(ynh_user_list); do
|
||||||
JUPYTERLAB_DIR="$(getent passwd $user | cut -d: -f6)/.local/share/$app/lab"
|
JUPYTERLAB_DIR="$(getent passwd $user | cut -d: -f6)/.local/share/$app/lab"
|
||||||
node_path="$nodejs_path:$(sudo -u $user sh -c 'echo $PATH')"
|
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
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue