fix: wrong PG_VERSION path.

This commit is contained in:
liqiang-fit2cloud 2025-07-16 09:26:34 +08:00
parent 43c7d1c3c4
commit bd8700477f

View File

@ -2,7 +2,7 @@
set -e
if [ -f "/var/lib/postgresql/data/PG_VERSION" ]; then
if [ -f "/opt/maxkb/PG_VERSION" ]; then
# 如果是v1版本一键安装的的目录则退出
echo "The existing data is from v1 and is not compatible with v2, installing v2 over v1 is not supported."
echo "The process will now exit."