1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-22 03:59:40 +08:00

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

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