diff options
author | Samruddhi Khandale <skhandale@microsoft.com> | 2022-05-16 21:05:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-16 21:05:19 +0300 |
commit | a7dc1749defe3b965051877e998bfc0a664059f6 (patch) | |
tree | f68df596a9ee087a56870fc41f8b2af0ac7172c0 /src/python/install.sh | |
parent | 5cf250cf2f0fc73b9d9f9189894608e1b2322dcf (diff) |
python: bug fix when version = none (#14)
* python: bug fix
* add missing "none" proposal
* nit
Diffstat (limited to 'src/python/install.sh')
-rw-r--r-- | src/python/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/install.sh b/src/python/install.sh index bdfc4d8..49018af 100644 --- a/src/python/install.sh +++ b/src/python/install.sh @@ -322,7 +322,7 @@ chown :pipx ${PIPX_HOME} ${PIPX_BIN_DIR} chmod g+s ${PIPX_HOME} ${PIPX_BIN_DIR} # Update pip if not using os provided python -if [ ${PYTHON_VERSION} != "os-provided" ] && [ ${PYTHON_VERSION} != "system" ]; then +if [ ${PYTHON_VERSION} != "os-provided" ] && [ ${PYTHON_VERSION} != "system" ] && [ ${PYTHON_VERSION} != "none" ]; then echo "Updating pip..." ${PYTHON_INSTALL_PATH}/bin/python3 -m pip install --no-cache-dir --upgrade pip fi |