mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-18 20:30:56 +00:00
Merge pull request #306 from cxhong/pgsql
SLES12 SP1 - Modify pgsqlsetup to support detecting postgresql-server package
This commit is contained in:
@ -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}'";
|
||||
}
|
||||
|
Reference in New Issue
Block a user