summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2018-07-13 18:25:07 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2018-07-13 18:25:07 +0100
commit82f52db9b3cc363cd80b4757d0073e8b5e95f770 (patch)
treee9228ebf073c4b62a0f7ce4fc2aa1dcf745b679d
parent61e644049fb5fea153d7da944bc0f33b7f169b0f (diff)
downloadpsycopg2-82f52db9b3cc363cd80b4757d0073e8b5e95f770.tar.gz
Fetch the correct testing postgres packages on xenial
-rwxr-xr-xscripts/travis_prepare.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/travis_prepare.sh b/scripts/travis_prepare.sh
index 71045c6..f2e06b7 100755
--- a/scripts/travis_prepare.sh
+++ b/scripts/travis_prepare.sh
@@ -39,7 +39,7 @@ create () {
# install postgres versions not available on the image
if [[ ! -d "${PGDIR}" ]]; then
- wget -O - http://initd.org/psycopg/upload/postgresql/postgresql-${PACKAGE}.tar.bz2 \
+ wget -O - http://initd.org/psycopg/upload/postgresql/postgresql-${PACKAGE}-$(lsb_release -cs).tar.bz2 \
| sudo tar xjf - -C /usr/lib/postgresql
fi