adapt to release 3.5.2

This commit is contained in:
Sarah Hoffmann
2020-09-25 11:42:07 +02:00
parent d15f57e589
commit 4a6f7e3095
6 changed files with 22 additions and 29 deletions

View File

@@ -33,7 +33,7 @@ export DEBIAN_FRONTEND=noninteractive #DOCS:
postgresql-contrib postgresql-12-postgis-3-scripts \
apache2 php php-pgsql libapache2-mod-php \
php-intl python3-setuptools python3-dev python3-pip \
python3-psycopg2 python3-tidylib git
python3-psycopg2 python3-tidylib
#
# System Configuration
@@ -128,26 +128,19 @@ sudo sed -i 's:#.*::' /etc/apache2/conf-available/nominatim.conf #DOCS:
#
if [ "x$1" == "xyes" ]; then #DOCS: :::sh
cd $USERHOME
wget https://nominatim.org/release/Nominatim-3.5.1.tar.bz2
tar xf Nominatim-3.5.1.tar.bz2
wget https://nominatim.org/release/Nominatim-3.5.2.tar.bz2
tar xf Nominatim-3.5.2.tar.bz2
else #DOCS:
cd $USERHOME/Nominatim #DOCS:
fi #DOCS:
# When installing the latest source from github, you also need to
# download the country grid:
if [ ! -f data/country_osm_grid.sql.gz ]; then #DOCS: :::sh
wget -O data/country_osm_grid.sql.gz https://www.nominatim.org/data/country_grid.sql.gz
fi #DOCS:
# The code must be built in a separate directory. Create this directory,
# then configure and build Nominatim in there:
cd $USERHOME
mkdir build
cd build
cmake $USERHOME/Nominatim-3.5.1
cmake $USERHOME/Nominatim-3.5.2
make
# You need to create a minimal configuration file that tells nominatim