Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 325113
Collapse All | Expand All

(-)postgis-1.5.1.ebuild.old (-2 / +2 lines)
Lines 159-167 Link Here
159
				safe_exit "Unable to createlang plpgsql ${mydb}."
159
				safe_exit "Unable to createlang plpgsql ${mydb}."
160
			fi
160
			fi
161
			(psql -q -p ${PGPORT} -U ${myuser} ${mydb} -f \
161
			(psql -q -p ${PGPORT} -U ${myuser} ${mydb} -f \
162
				"${ROOT}"usr/share/postgresql-${PGSLOT}/contrib/lwpostgis.sql &&
162
				"${ROOT}"usr/share/postgresql-${PGSLOT}/contrib/postgis-1.5/postgis.sql &&
163
			psql -q -p ${PGPORT} -U ${myuser} ${mydb} -f \
163
			psql -q -p ${PGPORT} -U ${myuser} ${mydb} -f \
164
				"${ROOT}"usr/share/postgresql-${PGSLOT}/contrib/spatial_ref_sys.sql) 2>\
164
				"${ROOT}"usr/share/postgresql-${PGSLOT}/contrib/postgis-1.5/spatial_ref_sys.sql) 2>\
165
					"${logfile}"
165
					"${logfile}"
166
			if [ "$(grep -c ERROR "${logfile}")" \> 0 ]; then
166
			if [ "$(grep -c ERROR "${logfile}")" \> 0 ]; then
167
				safe_exit "Unable to load sql files."
167
				safe_exit "Unable to load sql files."

Return to bug 325113