1
0
1Panel-Appstore/gitea/23.8.2/scripts/upgrade.sh
renovate[bot] 995e4e126a chore(deps): update commitgo/gitea-ee docker tag to v23.8.2 (#4126)
* chore(deps): update commitgo/gitea-ee docker tag to v23.8.2

* 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>
2025-06-15 17:01:59 +08:00

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