diff options
| -rw-r--r-- | docker/base/install_projects.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docker/base/install_projects.sh b/docker/base/install_projects.sh index a9a7948d0..c3f7182b5 100644 --- a/docker/base/install_projects.sh +++ b/docker/base/install_projects.sh @@ -5,7 +5,9 @@ # The projects are mounted there when dev mode is enabled for them # in kolla-ansible -if [ -d "/dev-mode" ]; then +VENV_PATH="/var/lib/kolla/venv" + +if [ -d "/dev-mode" ] && [ -d "$VENV_PATH" ]; then for project in /dev-mode/*; do pip install -U "$project" done |
