mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-30 11:56:18 -05:00
Updating maps import so previously imported pbf files are reset on import. Ignoring map tile initialization script failure when importing.
This commit is contained in:
parent
28ec996999
commit
d2ae135e5b
3 changed files with 26 additions and 17 deletions
|
|
@ -107,5 +107,6 @@ fi
|
|||
# Clear map tile cache only after successful import.
|
||||
yes | /bin/bash /opt/wrolpi/scripts/clear_map_cache.sh
|
||||
|
||||
# Use curl to fetch the first few layers of map tiles so the map is ready to use.
|
||||
bash /opt/wrolpi/wrolpi/scripts/initialize_map_tiles.sh
|
||||
# Use wget to fetch the first few layers of map tiles so the map is ready to use.
|
||||
# Failure does not mean the import failed.
|
||||
bash /opt/wrolpi/wrolpi/scripts/initialize_map_tiles.sh || :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue