diff --git a/plugins/postgresql/versions/14.4/install.sh b/plugins/postgresql/versions/14.4/install.sh index 6dd3a80b8..ceae43324 100755 --- a/plugins/postgresql/versions/14.4/install.sh +++ b/plugins/postgresql/versions/14.4/install.sh @@ -20,12 +20,12 @@ Install_App() mkdir -p ${postgreDir} echo '正在安装脚本文件...' > $install_tmp - if id postgresql &> /dev/null ;then - echo "postgresql UID is `id -u postgresql`" - echo "postgresql Shell is `grep "^postgresql:" /etc/passwd |cut -d':' -f7 `" + if id postgres &> /dev/null ;then + echo "postgres UID is `id -u postgres`" + echo "postgres Shell is `grep "^postgres:" /etc/passwd |cut -d':' -f7 `" else - groupadd postgresql - useradd -g postgresql postgresql + groupadd postgres + useradd -g postgres postgres fi if [ "$sysName" != "Darwin" ];then