Skip to content

Commit 4a2cfb4

Browse files
committed
handle PostGIS 3.6 in demo
1 parent e56202f commit 4a2cfb4

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
@@ -11,7 +11,9 @@ PGUSER=postgres
1111
SHP2PGSQL=@SHP2PGSQL@
1212
DB=tinyows_demo
1313

14-
if [ -d /usr/local/pgsql/share/contrib/postgis-3.5 ]; then
14+
if [ -d /usr/local/pgsql/share/contrib/postgis-3.6 ]; then
15+
PGSHARE=/usr/local/pgsql/share/contrib/postgis-3.6
16+
elif [ -d /usr/local/pgsql/share/contrib/postgis-3.5 ]; then
1517
PGSHARE=/usr/local/pgsql/share/contrib/postgis-3.5
1618
elif [ -d /usr/local/pgsql/share/contrib/postgis-3.4 ]; then
1719
PGSHARE=/usr/local/pgsql/share/contrib/postgis-3.4

0 commit comments

Comments
 (0)