mirror of
https://github.com/django/django.git
synced 2024-12-23 09:36:06 +00:00
Fixed #18246 -- Replaced bash-specific syntax in geodjango postgis helper script.
Thanks jose for the report.
This commit is contained in:
parent
80c0cbf1c9
commit
aaa3382fdc
@ -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 geometry_columns TO PUBLIC;" && \
|
||||||
psql -d template_postgis -c "GRANT ALL ON spatial_ref_sys TO PUBLIC;"
|
psql -d template_postgis -c "GRANT ALL ON spatial_ref_sys TO PUBLIC;"
|
||||||
|
|
||||||
if ((GEOGRAPHY))
|
if [ $GEOGRAPHY -eq 1 ]
|
||||||
then
|
then
|
||||||
psql -d template_postgis -c "GRANT ALL ON geography_columns TO PUBLIC;"
|
psql -d template_postgis -c "GRANT ALL ON geography_columns TO PUBLIC;"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user