Skip to content

Commit a3487a5

Browse files
committed
handle upcoming PostGIS 3.5 in demo
1 parent 3714ee2 commit a3487a5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

demo/install.sh.in

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ PGUSER=postgres
1111
SHP2PGSQL=@SHP2PGSQL@
1212
DB=tinyows_demo
1313

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

0 commit comments

Comments
 (0)