2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-18 17:20:19 +00:00

Modify pgsqlsetup to support sels12 SP1

This commit is contained in:
Casandra Qiu
2015-10-23 11:08:53 -04:00
parent 4d03e69648
commit f4c6742e59

View File

@@ -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}'";
}