Project

General

Profile

« Previous | Next » 

Revision 11672

bugfix: /Makefile: postgres-Linux: ignore errors if `sudo apt-get update` returns a non-zero exit status due to unreachable apt sources (which are likely unrelated to PostgreSQL, and should not prevent PostgreSQL configuration from continuing)

View differences:

Makefile
203 203
	sudo tee /etc/apt/sources.list.d/pgdg.list \
204 204
<<<"deb http://apt.postgresql.org/pub/repos/apt/ $$(lsb_release --short --codename)-pgdg main"
205 205
	wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | sudo apt-key add -
206
	sudo apt-get update
206
	-sudo apt-get update
207 207
	sudo update-alternatives --remove postmaster.1.gz /usr/share/postgresql/9.1/man/man1/postmaster.1.gz
208 208
	-sudo apt-get --yes install postgresql-9.3
209 209
	-sudo apt-get --yes install postgresql-contrib-$(pgVersion)

Also available in: Unified diff