From 72680db0d77797f1a5f6cf49e75dd19af25efdfe Mon Sep 17 00:00:00 2001 From: hjelev Date: Sun, 20 Mar 2022 20:56:33 +0200 Subject: [PATCH] update --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index c4f98ff..bf7d106 100755 --- a/install.sh +++ b/install.sh @@ -10,10 +10,10 @@ printm(){ find_python(){ if $(python --version); then python=$(which python) - pip="pip" + pip="python-pip" else python=$(which python3) - pip="pip3" + pip="python3-pip" fi echo "$python" } @@ -34,7 +34,7 @@ check_and_install_pip(){ pip=$(${python} -m pip --version 2>&1); if [[ "$pip" == *"No"* ]]; then echo "- Pip is not installed, installing it." - sudo apt install python-$pip + sudo apt install $python-pip else print_green "+ Found $pip" fi