Merge pull request #41 from vpithart/fix-update-script
Fix openstreetmap-tiles-update-expire - libraries for trim_osc.py
This commit is contained in:
commit
2be4107bb1
@ -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}/
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user