Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging the latest country updates to main #99

Merged
merged 2 commits into from
Feb 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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