Merge pull request #41 from vpithart/fix-update-script

Fix openstreetmap-tiles-update-expire - libraries for trim_osc.py
This commit is contained in:
Alexander Overvoorde 2019-07-02 23:15:43 +02:00 committed by GitHub
commit 2be4107bb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -67,7 +67,7 @@ RUN echo "deb [ allow-insecure=yes ] http://apt.postgresql.org/pub/repos/apt/ bi
osmosis \ osmosis \
osmium-tool \ osmium-tool \
cron \ cron \
python-psycopg2 python-shapely python-lxml \ python3-psycopg2 python3-shapely python3-lxml \
&& apt-get clean autoclean \ && apt-get clean autoclean \
&& apt-get autoremove --yes \ && apt-get autoremove --yes \
&& rm -rf /var/lib/{apt,dpkg,cache,log}/ && rm -rf /var/lib/{apt,dpkg,cache,log}/

View File

@ -150,7 +150,6 @@ fi
if [ -f $TRIM_POLY_FILE ] ; then if [ -f $TRIM_POLY_FILE ] ; then
m_ok "filtering diff" 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 if ! $TRIM_BIN $TRIM_OPTIONS $TRIM_REGION_OPTIONS -z $CHANGE_FILE $CHANGE_FILE 1>&2 2>> "$RUNLOG"; then
m_error "Trim_osc error" m_error "Trim_osc error"
fi fi