PagerMaid-Pyro/s6/etc/cont-init.d/20-update
2022-05-25 11:33:32 +08:00

12 lines
247 B
Plaintext

#!/usr/bin/with-contenv bash
cd /pagermaid/workdir
git remote set-url origin https://github.com/TeamPGM/PagerMaid-Pyro.git
git pull
pip install -r requirements.txt
if [ -s requirements2.txt ]; then
pip install -r requirements2.txt
fi
exit 0