From d8da0514c7defa0e821b3101f84a61513d69e919 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Tue, 26 Sep 2023 11:29:29 +0300 Subject: [PATCH] fixup --- jupyterlab/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jupyterlab/run.sh b/jupyterlab/run.sh index fb19616..f630c8b 100755 --- a/jupyterlab/run.sh +++ b/jupyterlab/run.sh @@ -5,10 +5,10 @@ BOLD='\033[0;1m' echo "$${BOLD}Installing jupyterlab!\n" # check if jupyterlab is installed -if ! command -v jupyterlab & >/dev/null; then +if ! command -v jupyterlab > /dev/null 2>&1; then # install jupyterlab # check if python3 pip is installed - if ! command -v pip3 & >/dev/null; then + if ! command -v pip3 > /dev/null 2>&1; then echo "pip3 is not installed" echo "Please install pip3 in your Dockerfile/VM image before running this script" exit 1