Merge pull request #1882 from gpazo/fixPreReq v4.7.0-beta.2
authorSteve Hackbarth <stephenhackbarth@gmail.com>
Mon, 29 Sep 2014 20:31:46 +0000 (16:31 -0400)
committerSteve Hackbarth <stephenhackbarth@gmail.com>
Mon, 29 Sep 2014 20:31:46 +0000 (16:31 -0400)
Fix pre req

scripts/xml/distribution_install.xml

index 94147e7..01cf349 100644 (file)
@@ -19,7 +19,7 @@
 
   <prerequisite type = "query"
                 name = "Checking for too-new xTuple ERP database version" >
-    <query>SELECT NOT fetchMetricText('ServerVersion') >= '4.7.0';</query>
+    <query>SELECT NOT fetchMetricText('ServerVersion') >= '4.7.0Beta2' AND fetchMetricText('ServerVersion') != '4.7.0';</query>
     <message>This package may not be applied to a database newer than 4.7.0Beta.
     </message>
   </prerequisite>