Pavel Zhukov has uploaded a new change for review.

Change subject: Fix pg_version regexp. There is postgresql-server 9.2 in Fedora 
18 and ovirt create-db (as well as engine-setuo) cannot create db
......................................................................

Fix pg_version regexp.
There is postgresql-server 9.2 in Fedora 18 and ovirt create-db (as well as 
engine-setuo)
cannot create db

Change-Id: Ic553cfc061c39e6b1e6e3f062db7af493381b91f
Signed-off-by: Pavel Zhukov <pzhu...@redhat.com>
---
M backend/manager/dbscripts/dbfunctions.sh
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/72/10772/1

diff --git a/backend/manager/dbscripts/dbfunctions.sh 
b/backend/manager/dbscripts/dbfunctions.sh
index 0824760..1480240 100755
--- a/backend/manager/dbscripts/dbfunctions.sh
+++ b/backend/manager/dbscripts/dbfunctions.sh
@@ -326,7 +326,7 @@
 
 check_and_install_uuid_osspa() {
 
-    if [ $(pg_version | egrep "^9.1") ]; then
+    if [ $(pg_version | egrep "^9.[1-9]") ]; then
         echo "Creating uuid-ossp extension..."
         check_and_install_uuid_osspa_pg9 $1
     else


--
To view, visit http://gerrit.ovirt.org/10772
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic553cfc061c39e6b1e6e3f062db7af493381b91f
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: engine_3.1
Gerrit-Owner: Pavel Zhukov <pzhu...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to