fix(jupyterlab): update command -v from jupyterlab to jupyter-lab (#328)

Update `command -v` from `jupyterlab` to `jupyter-lab` to check to if
jupyterlab binary is installed.
pull/335/head
Roger Chao 6 months ago committed by GitHub
parent ce5a5b383a
commit b53554b4e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -16,7 +16,7 @@ A module that adds JupyterLab in your Coder template.
```tf
module "jupyterlab" {
source = "registry.coder.com/modules/jupyterlab/coder"
version = "1.0.22"
version = "1.0.23"
agent_id = coder_agent.example.id
}
```

@ -9,7 +9,7 @@ BOLD='\033[0;1m'
printf "$${BOLD}Installing jupyterlab!\n"
# check if jupyterlab is installed
if ! command -v jupyterlab > /dev/null 2>&1; then
if ! command -v jupyter-lab > /dev/null 2>&1; then
# install jupyterlab
# check if pipx is installed
if ! command -v pipx > /dev/null 2>&1; then

Loading…
Cancel
Save