Skip to content

Commit

Permalink
fix(jupyterlab): update command -v from jupyterlab to jupyter-lab (#328)
Browse files Browse the repository at this point in the history
Update `command -v` from `jupyterlab` to `jupyter-lab` to check to if
jupyterlab binary is installed.
  • Loading branch information
rogmanster authored Oct 23, 2024
1 parent ce5a5b3 commit b53554b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jupyterlab/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
```
2 changes: 1 addition & 1 deletion jupyterlab/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b53554b

Please sign in to comment.