Opened 12 years ago

Closed 12 years ago

#20269 closed Cleanup/optimization (fixed)

PostGIS template create script for CentOS

Reported by: stephane.benchimol@… Owned by: Claude Paroz
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

Description

Hello,

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

Thanks,
Stéphane

Attachments (2)

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

Download all attachments as: .zip

Change History (6)

by stephane.benchimol@…, 12 years ago

comment:1 by Claude Paroz, 12 years ago

Triage Stage: UnreviewedAccepted
Type: UncategorizedCleanup/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?

by mfandreas, 12 years ago

comment:2 by mfandreas, 12 years ago

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

comment:3 by Claude Paroz, 12 years ago

Owner: changed from nobody to Claude Paroz
Status: newassigned
Triage Stage: AcceptedReady for checkin

Great, thanks.

comment:4 by Claude Paroz <claude@…>, 12 years ago

Resolution: fixed
Status: assignedclosed

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