2
0
Fork 0

osm-garmin: various

This commit is contained in:
Ducky 2023-10-01 04:04:21 +01:00
parent ec42a5634a
commit 8a2cafd2ee
2 changed files with 24 additions and 38 deletions

View file

@ -13,14 +13,7 @@ function wait() {
while :
do
regions="europe/great-britain"
style=""
first_run="true"
[[ -n "$OSMGARMIN_REGIONS" ]] && regions="$OSMGARMIN_REGIONS"
[[ -n "$OSMGARMIN_STYLE" ]] && style="$OSMGARMIN_STYLE"
/app/build-gmap.sh "$regions" "$style"
/app/build-gmap.sh "$OSMGARMIN_REGIONS" "$OSMGARMIN_STYLE"
if [[ $? == 0 ]]; then
wait $sleep_time