From 1fa3d7eece01a229f0b6008e6b92c803fd7246ab Mon Sep 17 00:00:00 2001 From: Jim Grady Date: Mon, 15 Jul 2024 09:37:09 -0400 Subject: [PATCH] Improve test for existing venv --- installer/make-combine-installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/make-combine-installer.sh b/installer/make-combine-installer.sh index 912dc27faf..a0160411c9 100755 --- a/installer/make-combine-installer.sh +++ b/installer/make-combine-installer.sh @@ -42,7 +42,7 @@ fi cd ../deploy if [[ $NET_INSTALL == 0 ]] ; then - if [ ! -d venv ] ; then + if [ ! -f venv/bin/activate ] ; then # virtual environment does not exist - create it python3 -m venv venv fi