From 1beb5fb1e89588e7685197d37234cedf2ba13b72 Mon Sep 17 00:00:00 2001 From: Vojtech Pithart Date: Tue, 2 Jul 2019 13:37:57 +0200 Subject: [PATCH] Fix updater - libraries for trim_osc.py --- Dockerfile | 2 +- openstreetmap-tiles-update-expire | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 75e5ddc..d04478d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -67,7 +67,7 @@ RUN echo "deb [ allow-insecure=yes ] http://apt.postgresql.org/pub/repos/apt/ bi osmosis \ osmium-tool \ cron \ - python-psycopg2 python-shapely python-lxml \ + python3-psycopg2 python3-shapely python3-lxml \ && apt-get clean autoclean \ && apt-get autoremove --yes \ && rm -rf /var/lib/{apt,dpkg,cache,log}/ diff --git a/openstreetmap-tiles-update-expire b/openstreetmap-tiles-update-expire index b4694b6..dea6e9e 100644 --- a/openstreetmap-tiles-update-expire +++ b/openstreetmap-tiles-update-expire @@ -150,7 +150,6 @@ fi if [ -f $TRIM_POLY_FILE ] ; then m_ok "filtering diff" - /var/lib/mod_tile/data.poly if ! $TRIM_BIN $TRIM_OPTIONS $TRIM_REGION_OPTIONS -z $CHANGE_FILE $CHANGE_FILE 1>&2 2>> "$RUNLOG"; then m_error "Trim_osc error" fi