From 5e6d35efc4d2df30ffd0301015e805350c383277 Mon Sep 17 00:00:00 2001 From: hjelev Date: Sun, 20 Mar 2022 21:05:43 +0200 Subject: [PATCH] update --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 8ce2e2f..302605e 100755 --- a/install.sh +++ b/install.sh @@ -31,8 +31,8 @@ print_yellow(){ check_and_install_pip(){ cwd=$(pwd) #python=$(which python) - pip=$(${python} -m pip --version 2>&1); - if [[ "$pip" == *"No"* ]]; then + pip_ver=$(${python} -m pip --version 2>&1); + if [[ "$pip_ver" == *"No"* ]]; then echo "- Pip is not installed, installing it." sudo apt install $pip else