add support for finding pg_config in Postgresql repos

It uses the same PostgreSQL_ADDITIONAL_VERSIONS variable as
osm2pgsql so that setting that should be sufficient to make
it work.
This commit is contained in:
Sarah Hoffmann
2020-10-20 11:39:00 +02:00
parent 6c8a7b0a1a
commit e286d3f23d
3 changed files with 12 additions and 11 deletions

View File

@@ -42,11 +42,7 @@
python3-pip python3-setuptools python3-devel \
expat-devel zlib-devel
# make sure pg_config gets found
echo 'PATH=/usr/pgsql-11/bin/:$PATH' >> ~/.bash_profile
source ~/.bash_profile
pip3 install --user psycopg2 pytidylib
pip3 install --user psycopg2
#

View File

@@ -35,11 +35,7 @@
python3-pip python3-setuptools python3-devel \
expat-devel zlib-devel
# make sure pg_config gets found
echo 'PATH=/usr/pgsql-12/bin:$PATH' >> ~/.bash_profile
source ~/.bash_profile
pip3 install --user psycopg2 pytidylib
pip3 install --user psycopg2
#