Fix shell error in startup.sh

This commit is contained in:
Cassowary 2023-01-05 09:37:24 -08:00
parent 304072ea10
commit 0ba8786bc4
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
export STARTUP_SH_VERSION=v5
export STARTUP_SH_VERSION=v6

View File

@ -2,8 +2,8 @@
cd "$VOILA_DIRECTORY" || true
if [-r "$REQUIREMENTS_PATH" ]; then
pip install -r "$REQUIREMENTS_PATH"
if [ -r "$REQUIREMENTS_PATH" ]; then
pip install -r --no-cache-dir "$REQUIREMENTS_PATH"
fi
pip freeze |grep voila || pip install voila==$VOILA_VERSION