From 715ea8c835c0391c7c520b7b10f31317a1213155 Mon Sep 17 00:00:00 2001 From: Marc Di Luzio Date: Sun, 11 Aug 2024 10:40:05 +0100 Subject: [PATCH] Remove the while loop from the run script --- run.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/run.sh b/run.sh index bd2e5b1..b6b01b1 100755 --- a/run.sh +++ b/run.sh @@ -2,10 +2,10 @@ set -x set -e +git pull +if [ -d .venv ]; then + python3 -m venv .venv +fi source .venv/bin/activate - -while python matchy.py -do - git pull - python -m pip install -r requirements.txt -done +python -m pip install -r requirements.txt +python matchy.py