bh: thuban/test postgissupport.py,1.14,1.15

cvs@intevation.de cvs at intevation.de
Tue Mar 29 20:36:55 CEST 2005


Author: bh

Update of /thubanrepository/thuban/test
In directory doto:/tmp/cvs-serv14817/test

Modified Files:
	postgissupport.py 
Log Message:
(find_postgis_sql): Added yet another
potential location for (lw)postgis.sql because the file has moved
again in postgis 1.0.0 rc4.


Index: postgissupport.py
===================================================================
RCS file: /thubanrepository/thuban/test/postgissupport.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- postgissupport.py	21 Jan 2005 16:58:31 -0000	1.14
+++ postgissupport.py	29 Mar 2005 18:36:53 -0000	1.15
@@ -514,6 +514,7 @@
       postgis 0.7.5        $datadir/contrib/postgis.sql
       postgis 0.8.1        $datadir/postgis.sql
       postgis 1.0.0-rc1    $datadir/lwpostgis.sql
+      postgis 1.0.0-rc4    $datadir/contrib/lwpostgis.sql
 
     To support both versions, we look in both places and return the
     first one found (looking under contrib first).  If the file is not
@@ -523,7 +524,8 @@
     datadir = os.path.join(bindir, "..", "share", "postgresql")
     for filename in [os.path.join(datadir, "contrib", "postgis.sql"),
                      os.path.join(datadir, "postgis.sql"),
-                     os.path.join(datadir, "lwpostgis.sql")]:
+                     os.path.join(datadir, "lwpostgis.sql"),
+                     os.path.join(datadir, "contrib", "lwpostgis.sql")]:
         if os.path.exists(filename):
             return filename
 





More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)