diff options
| author | Claude Paroz <claude@2xlibre.net> | 2012-05-01 20:33:50 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2012-05-01 20:33:50 +0200 |
| commit | aaa3382fdc35bfa5e26c029225a2eb190da66b79 (patch) | |
| tree | 3cdef0a6659f1b2f0f2b8af2f5a17794bd764ba1 /docs | |
| parent | 80c0cbf1c97047daed2c5b41b296bbc56fe1d7e3 (diff) | |
Fixed #18246 -- Replaced bash-specific syntax in geodjango postgis helper script.
Thanks jose for the report.
Diffstat (limited to 'docs')
| -rwxr-xr-x | docs/ref/contrib/gis/create_template_postgis-debian.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/contrib/gis/create_template_postgis-debian.sh b/docs/ref/contrib/gis/create_template_postgis-debian.sh index ac9641d168..3e621837fa 100755 --- a/docs/ref/contrib/gis/create_template_postgis-debian.sh +++ b/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 |
