💩 添加 Docker 内部执行命令
This commit is contained in:
parent
d23ee2a72a
commit
9ecd657262
@ -74,12 +74,20 @@ login() {
|
|||||||
echo "请在账户授权完毕后,按 Ctrl + C 使 Docker 在后台模式下运行。"
|
echo "请在账户授权完毕后,按 Ctrl + C 使 Docker 在后台模式下运行。"
|
||||||
echo ""
|
echo ""
|
||||||
sleep 2
|
sleep 2
|
||||||
|
echo "Hello world!" > /pagermaid/workdir/install.lock
|
||||||
/pagermaid/workdir/venv/bin/python -m pagermaid
|
/pagermaid/workdir/venv/bin/python -m pagermaid
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
start_installation() {
|
start_installation() {
|
||||||
welcome
|
if [ ! -f "/pagermaid/workdir/install.lock" ];then
|
||||||
configure
|
welcome
|
||||||
login
|
configure
|
||||||
|
login
|
||||||
|
else
|
||||||
|
/pagermaid/workdir/venv/bin/python -m pagermaid
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
start_installation
|
||||||
|
Loading…
Reference in New Issue
Block a user