feat: update flyiii Version (#2341)

This commit is contained in:
zhengkunwang
2024-10-22 16:36:02 +08:00
committed by GitHub
parent c671845579
commit f4d98ecabd
4 changed files with 1 additions and 1 deletions
@@ -0,0 +1,11 @@
#!/bin/bash
if [[ -f ./.env ]]; then
if grep -q 'PANEL_DB_TYPE="mysql"' ./.env; then
echo "PANEL_DB_TYPE 为 Mysql 数据库, 不作修改"
else
sed -i 's/PANEL_DB_TYPE="postgres"/PANEL_DB_TYPE="pgsql"/g' ./.env
fi
else
echo ".env 文件不存在"
fi