1
0
Fork 0

fix: fix issue with install jumpserver failed (#4147)

This commit is contained in:
CityFun 2025-06-17 17:07:08 +08:00 committed by GitHub
parent f9f1e8699f
commit f5ddff3cb4
1 changed files with 1 additions and 2 deletions

View File

@ -3,8 +3,7 @@
ENV_FILE=".env"
if [ -f "$ENV_FILE" ]; then
PANEL_DB_TYPE=$(grep '^PANEL_DB_TYPE=' "$ENV_FILE" | cut -d '=' -f 2 | tr -d '"')
source "$ENV_FILE"
if [ "$PANEL_DB_TYPE" == "postgresql" ]; then
ENGINE="postgresql"
elif [ "$PANEL_DB_TYPE" == "mysql" ] || [ "$PANEL_DB_TYPE" == "mariadb" ]; then