PagerMaid-Modify/s6/etc/cont-init.d/20-update
nevinen f1c1933ffb
👷 Thorough Docker iteration
👷 彻底的 Docker 迭代
2021-05-04 00:13:05 +08:00

11 lines
271 B
Plaintext
Executable File

#!/usr/bin/with-contenv bash
cd /pagermaid/workdir
git remote set-url origin https://github.com/Xtao-Labs/PagerMaid-Modify.git
requir_old=$(cat requirements.txt)
git pull
[[ $requir_old != $(cat requirements.txt) ]] && {
pip install -r requirements.txt
exit 0
}