Skip to content

Commit

Permalink
Adding IN, ID, NL, FR and ES to the custom layers
Browse files Browse the repository at this point in the history
  • Loading branch information
76rhodan committed Feb 19, 2024
1 parent 084672f commit 8b06933
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions rootfs/etc/s6-overlay/scripts/61-layer
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,21 @@ if [[ -n "${VRS_ENHANCED_LAYERS_COUNTRY}" ]]
(au) echo "[$APPNAME][$(date)] Enhanced Layers renaming country files for: ${VRS_ENHANCED_LAYERS_COUNTRY}"
rename -f 's/AU//' -- *.geojson
;;
(in) echo "[$APPNAME][$(date)] Enhanced Layers renaming country files for: ${VRS_ENHANCED_LAYERS_COUNTRY}"
rename -f 's/IN//' -- *.geojson
;;
(id) echo "[$APPNAME][$(date)] Enhanced Layers renaming country files for: ${VRS_ENHANCED_LAYERS_COUNTRY}"
rename -f 's/ID//' -- *.geojson
;;
(nl) echo "[$APPNAME][$(date)] Enhanced Layers renaming country files for: ${VRS_ENHANCED_LAYERS_COUNTRY}"
rename -f 's/NL//' -- *.geojson
;;
(fr) echo "[$APPNAME][$(date)] Enhanced Layers renaming country files for: ${VRS_ENHANCED_LAYERS_COUNTRY}"
rename -f 's/FR//' -- *.geojson
;;
(es) echo "[$APPNAME][$(date)] Enhanced Layers renaming country files for: ${VRS_ENHANCED_LAYERS_COUNTRY}"
rename -f 's/ES//' -- *.geojson
;;
(*) echo "[$APPNAME][$(date)] Unknown or wrong country, default set to UK"
;;
esac
Expand Down

0 comments on commit 8b06933

Please sign in to comment.