Skip to content

Commit e69e536

Browse files
author
Olivier Courtin
committed
Merge pull request #69 from sebastic/demo-postgis-2.1
Add support for postgis version 2.1 in demo installer.
2 parents fe63f23 + 8dda8ee commit e69e536

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

demo/install.sh.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ PGUSER=postgres
99
SHP2PGSQL=@SHP2PGSQL@
1010
DB=tinyows_demo
1111

12-
if [ -d @POSTGIS_SHARE@/contrib/postgis-2.0 ]; then
12+
if [ -d @POSTGIS_SHARE@/contrib/postgis-2.1 ]; then
13+
PGSHARE=@POSTGIS_SHARE@/contrib/postgis-2.1
14+
elif [ -d @POSTGIS_SHARE@/contrib/postgis-2.0 ]; then
1315
PGSHARE=@POSTGIS_SHARE@/contrib/postgis-2.0
1416
elif [ -d @POSTGIS_SHARE@/contrib/postgis-1.5 ]; then
1517
PGSHARE=@POSTGIS_SHARE@/contrib/postgis-1.5

0 commit comments

Comments
 (0)