update
This commit is contained in:
@@ -31,8 +31,8 @@ print_yellow(){
|
|||||||
check_and_install_pip(){
|
check_and_install_pip(){
|
||||||
cwd=$(pwd)
|
cwd=$(pwd)
|
||||||
#python=$(which python)
|
#python=$(which python)
|
||||||
pip=$(${python} -m pip --version 2>&1);
|
pip_ver=$(${python} -m pip --version 2>&1);
|
||||||
if [[ "$pip" == *"No"* ]]; then
|
if [[ "$pip_ver" == *"No"* ]]; then
|
||||||
echo "- Pip is not installed, installing it."
|
echo "- Pip is not installed, installing it."
|
||||||
sudo apt install $pip
|
sudo apt install $pip
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user