We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1b67f8 commit 78922e4Copy full SHA for 78922e4
src/predict.sh
@@ -12,7 +12,7 @@ if [[ -f venv/bin/pip3 ]]; then
12
[ -z "$1" ] || find . -name main.py -exec ./venv/bin/python3 {} "$1" \;
13
deactivate
14
elif [[ -f /.dockerenv ]]; then
15
- export PATH="$PATH:/root/.local/bin"
+ [[ ":$PATH:" == *":/root/.local/bin:"* ]] || export PATH=$PATH:/root/.local/bin
16
pip3 install -r requirements.txt --user --break-system-packages
17
[ -z "$1" ] || python3 ./main.py "$1"
18
fi
0 commit comments