aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh4
-rw-r--r--python/requirements.pip310.txt2
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