From f4c6742e59ddb3ff3c9044a3a118b4dd0fc9d5e2 Mon Sep 17 00:00:00 2001 From: Casandra Qiu Date: Fri, 23 Oct 2015 11:08:53 -0400 Subject: [PATCH] Modify pgsqlsetup to support sels12 SP1 --- xCAT-client/bin/pgsqlsetup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-client/bin/pgsqlsetup b/xCAT-client/bin/pgsqlsetup index 2949732b0..adcd7b8dd 100755 --- a/xCAT-client/bin/pgsqlsetup +++ b/xCAT-client/bin/pgsqlsetup @@ -164,7 +164,7 @@ if ($::RUNCMD_RC != 0) # # check to see if postgresql is installed # -my $cmd = "rpm -q postgresql-server"; +my $cmd = "rpm -qa | grep postgresql | grep server"; if ($debianflag){ $cmd = "dpkg -l | grep postgresql | awk '{print \$2}'"; }