PagerMaid-Modify/s6/etc/cont-init.d/20-update
2022-02-26 03:52:12 +00:00

12 lines
251 B
Plaintext
Executable File

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