From defd3c898817055c37b00f65b549e5d816cec395 Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Wed, 9 Feb 2022 23:20:40 +0100 Subject: . --- install.sh | 4 ++-- python/requirements.pip310.txt | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 5922348..b31756e 100755 --- a/install.sh +++ b/install.sh @@ -10,8 +10,8 @@ install_python_venv() { LONG=$1 SHORT=${LONG//\./} - PYTHON_BIN=$(command -v "python$LONG") - if [ ! -z $PYTHON_BIN ]; then + PYTHON_BIN=$(command -v "python$LONG" || true) + if [ -n $PYTHON_BIN ]; then PYTHON_DIR=~/opt/python$SHORT PIP_BIN=$PYTHON_DIR/bin/pip$LONG diff --git a/python/requirements.pip310.txt b/python/requirements.pip310.txt index ba9ba4d..40f9460 100644 --- a/python/requirements.pip310.txt +++ b/python/requirements.pip310.txt @@ -1,5 +1,3 @@ doit jedi-language-server pip -sublime-music -ydiff -- cgit v1.2.3-70-g09d2