Update run.sh
Co-authored-by: Robin C. Ladiges <Istador@users.noreply.github.com>
This commit is contained in:
parent
c33aab8dae
commit
71223b9c99
2
run.sh
2
run.sh
@ -76,10 +76,10 @@ if [ "$1" == "import" ]; then
|
|||||||
echo "INFO: Download PBF file: $DOWNLOAD_PBF"
|
echo "INFO: Download PBF file: $DOWNLOAD_PBF"
|
||||||
if [ -f /data/region.poly ]; then
|
if [ -f /data/region.poly ]; then
|
||||||
wget ${WGET_ARGS:-} "$DOWNLOAD_PBF" -O - | osmconvert - -B=/data/region.poly -o=/data/region.osm.pbf
|
wget ${WGET_ARGS:-} "$DOWNLOAD_PBF" -O - | osmconvert - -B=/data/region.poly -o=/data/region.osm.pbf
|
||||||
chown renderer: /data/region.osm.pbf
|
|
||||||
else
|
else
|
||||||
wget ${WGET_ARGS:-} "$DOWNLOAD_PBF" -O /data/region.osm.pbf
|
wget ${WGET_ARGS:-} "$DOWNLOAD_PBF" -O /data/region.osm.pbf
|
||||||
fi
|
fi
|
||||||
|
chown renderer: /data/region.osm.pbf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${UPDATES:-}" == "enabled" ] || [ "${UPDATES:-}" == "1" ]; then
|
if [ "${UPDATES:-}" == "enabled" ] || [ "${UPDATES:-}" == "1" ]; then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user