💩 添加 Docker 内部执行命令

This commit is contained in:
xtaodada 2020-08-11 10:55:17 +08:00
parent d23ee2a72a
commit 9ecd657262
No known key found for this signature in database
GPG Key ID: EE4DC37B55E24736

View File

@ -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