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:
@@ -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