mirror of
https://github.com/YunoHost-Apps/jupyterlab_ynh.git
synced 2024-09-03 19:26:35 +02:00
Update post_user_create
This commit is contained in:
parent
cd48d9a176
commit
ac72126cda
1 changed files with 2 additions and 1 deletions
|
@ -14,5 +14,6 @@ ynh_use_nodejs
|
|||
if [ $enable_extensions -eq 1 ]; then
|
||||
export 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:$PATH" "$install_dir/.venv/bin/jupyter" lab build --app-dir="$JUPYTERLAB_DIR"
|
||||
#sudo -u $user
|
||||
env "PATH=$node_path:$PATH" "$install_dir/.venv/bin/jupyter" lab build --app-dir="$JUPYTERLAB_DIR"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue