Skip to content

Commit

Permalink
Merge pull request #102 from jmckenna/demo-pg3.4
Browse files Browse the repository at this point in the history
handle PostGIS 3.4 in demo
  • Loading branch information
jmckenna authored May 17, 2024
2 parents 84e7574 + 99d7d80 commit ca5bc25
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 ca5bc25

Please sign in to comment.