﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
18246	Geodjango documentation improvement	José Luis Patiño Andrés	nobody	"Hello!

I am just starting with Geodjango, so reading the documentation and learning how to set up a GIS environment in PostgreSQL.

In the 'Geodjango installation' page, in the 'Debian' section, you kindly add a shell script to set up everything in the [https://docs.djangoproject.com/en/dev/ref/contrib/gis/install/#post-installation-notes Post-installation notes]. Script is 'create_template_postgis-debian.sh'

In line 41 of the script, the `if ((GEOGRAPHY))` is failing and returns the next error:

`create_template_postgis-debian.sh: 41: create_template_postgis-debian.sh: GEOGRAPHY: not found`

I think it will be a good idea to change this line for a more explicit comparison, in order to prevent this error:

`if [ $GEOGRAPHY -eq 1 ]`

That works better, and is more exact, I guess.

Hope this little tip to be useful. Thanks for your time!"	Cleanup/optimization	closed	Documentation	dev	Normal	fixed	gis		Accepted	0	0	0	0	0	0
