PagerMaid-Pyro/s6/etc/cont-init.d/20-update

12 lines
247 B
Plaintext
Raw Normal View History

2022-05-25 03:33:32 +00:00
#!/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