#20269 closed Cleanup/optimization (fixed)

PostGIS template create script for CentOS

Reported by: stephane.benchimol@… Owned by: claudep
Component: GIS Version: 1.3
Severity: Normal Keywords: documentation geodjango postgis
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no



I was looking at installing GeoDjango/PostGIS on CentOS 6.3.

The documentation page (https://docs.djangoproject.com/en/dev/ref/contrib/gis/install/postgis/#creating-a-spatial-database-template-for-earlier-versions) give database template creation script, but none of them is working for CentOS, due to different path name in CentOS, I guess.

Not sure if it fits as a new ticket, but please find attached the creation script for CentOS 6.3


Attachments (2)

create_template_postgis-1.5-centos.sh (733 bytes) - added by stephane.benchimol@… 23 months ago.
create_template_postgis-1.5.sh.patch (1.3 KB) - added by mfandreas 22 months ago.

Download all attachments as: .zip

Change History (6)

Changed 23 months ago by stephane.benchimol@…

comment:1 Changed 23 months ago by claudep

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted
  • Type changed from Uncategorized to Cleanup/optimization

Thanks for sharing that script. But instead of creating one more script and considering the minimal changes, would it be possible to improve the generic create_template_postgis-1.5.sh script and test for the paths from CentOS?

Changed 22 months ago by mfandreas

comment:2 Changed 22 months ago by mfandreas

Merged changed lines in postgis-1.5.sh script with test for RHEL.

comment:3 Changed 22 months ago by claudep

  • Owner changed from nobody to claudep
  • Status changed from new to assigned
  • Triage Stage changed from Accepted to Ready for checkin

Great, thanks.

comment:4 Changed 22 months ago by Claude Paroz <claude@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

In 90f1170bb92cfd588762039fc00477bfcdae11b3:

Fixed #20269 -- Adapted PostGIS template create script for CentOS/RHEL

Thanks Stephane Benchimol for the report and the initial script and
mfandreas for the patch.

Note: See TracTickets for help on using tickets.
Back to Top