mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-11 13:06:56 +08:00
a2aaf460a5
* chore(deps): update gitea.cn/gitea/gitea docker tag to v1.21.7 * Update app version [skip ci] --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
11 lines
207 B
Bash
11 lines
207 B
Bash
#!/bin/bash
|
|
|
|
if [[ -f ./.env ]]; then
|
|
if grep -q "PANEL_DB_TYPE" ./.env; then
|
|
echo "PANEL_DB_TYPE 已存在"
|
|
else
|
|
echo 'PANEL_DB_TYPE="mysql"' >> ./.env
|
|
fi
|
|
else
|
|
echo ".env 文件不存在"
|
|
fi |