Project

General

Profile

« Previous | Next » 

Revision 13303

/Makefile: postgres-Linux: updated to use the official version that comes with Ubuntu 14.04

View differences:

Makefile
216 216
	$(if $(nonApacheOnPort80),$(editApachePortsConf))
217 217
	-sudo apache2ctl restart
218 218

  
219
postgres-Linux_confirm_msg = the following install commands were designed to\
220
run on Ubuntu 12.04. if you have a newer version, the install will likely mess\
221
up your Postgres configuration.
222

  
223 219
postgres-Linux: _always
224
	$(call confirm,**WARNING**:,$(postgres-Linux_confirm_msg))
225
	echo|sudo add-apt-repository ppa:pitti/postgresql # PostgreSQL 9.2 apt-src
226
	sudo tee /etc/apt/sources.list.d/pgdg.list \
227
<<<"deb http://apt.postgresql.org/pub/repos/apt/ $$(lsb_release --short --codename)-pgdg main"
228
	wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | sudo apt-key add -
229
	-sudo apt-get update
230
	sudo update-alternatives --remove postmaster.1.gz /usr/share/postgresql/9.1/man/man1/postmaster.1.gz
231 220
	-sudo apt-get --yes install postgresql-9.3
232 221
	-sudo apt-get --yes install postgresql-contrib-$(pgVersion)
233 222
	-sudo apt-get --yes install postgresql-plpython3-$(pgVersion)

Also available in: Unified diff