Skip to content

Commit

Permalink
handle PostGIS 3.4 in demo
Browse files Browse the repository at this point in the history
  • Loading branch information
jmckenna committed May 16, 2024
1 parent 84e7574 commit 99d7d80
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
6 changes: 4 additions & 2 deletions demo/install.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ PGUSER=postgres
SHP2PGSQL=@SHP2PGSQL@
DB=tinyows_demo

if [ -d /usr/local/pgsql/share/contrib/postgis-3.3 ]; then
PGSHARE=/usr/local/pgsql/share/contrib/postgis-3.3
if [ -d /usr/local/pgsql/share/contrib/postgis-3.4 ]; then
PGSHARE=/usr/local/pgsql/share/contrib/postgis-3.4
elif [ -d /usr/local/pgsql/share/contrib/postgis-3.3 ]; then
PGSHARE=/usr/local/pgsql/share/contrib/postgis-3.3
elif [ -d /usr/local/pgsql/share/contrib/postgis-3.2 ]; then
PGSHARE=/usr/local/pgsql/share/contrib/postgis-3.2
elif [ -d /usr/local/pgsql/share/contrib/postgis-3.1 ]; then
Expand Down

0 comments on commit 99d7d80

Please sign in to comment.