mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-12-04 07:52:21 +08:00
da823171ef
* feat: Umami 版本升级至 v2.11.1 * Umami 版本升级至 v2.11.2
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 |