From b53554b4e469a85cff717557fbbc61e7073f420c Mon Sep 17 00:00:00 2001 From: Roger Chao Date: Wed, 23 Oct 2024 13:51:25 -0700 Subject: [PATCH] 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. --- jupyterlab/README.md | 2 +- jupyterlab/run.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jupyterlab/README.md b/jupyterlab/README.md index 52d5a502..ea5ea67b 100644 --- a/jupyterlab/README.md +++ b/jupyterlab/README.md @@ -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 } ``` diff --git a/jupyterlab/run.sh b/jupyterlab/run.sh index aff21b72..0c3780dc 100755 --- a/jupyterlab/run.sh +++ b/jupyterlab/run.sh @@ -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