16 lines
234 B
Bash
Executable File
16 lines
234 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ -d ".git" ]; then
|
|
git pull
|
|
fi
|
|
|
|
if [ ! -d ".venv" ]; then
|
|
python3 -m venv .venv
|
|
source .venv/bin/activate
|
|
pip3 install -r ./requirments.txt
|
|
else
|
|
source .venv/bin/activate
|
|
fi
|
|
|
|
python3 ./updater.py
|