f1c1933ffb
👷 彻底的 Docker 迭代
11 lines
271 B
Plaintext
Executable File
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
|
|
} |