Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #18246 -- Replaced bash-specific syntax in geodjango postgis he…

…lper script.

Thanks jose for the report.
  • Loading branch information...
commit aaa3382fdc35bfa5e26c029225a2eb190da66b79 1 parent 80c0cbf
@claudep claudep authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/ref/contrib/gis/create_template_postgis-debian.sh
View
2  docs/ref/contrib/gis/create_template_postgis-debian.sh
@@ -38,7 +38,7 @@ psql -d template_postgis -f $POSTGIS_SQL_PATH/spatial_ref_sys.sql && \
psql -d template_postgis -c "GRANT ALL ON geometry_columns TO PUBLIC;" && \
psql -d template_postgis -c "GRANT ALL ON spatial_ref_sys TO PUBLIC;"
-if ((GEOGRAPHY))
+if [ $GEOGRAPHY -eq 1 ]
then
psql -d template_postgis -c "GRANT ALL ON geography_columns TO PUBLIC;"
fi
Please sign in to comment.
Something went wrong with that request. Please try again.