From 8b069334a7ef1147d21a61e5d9cac763777500a7 Mon Sep 17 00:00:00 2001 From: 76rhodan Date: Mon, 19 Feb 2024 15:03:55 +0000 Subject: [PATCH] Adding IN, ID, NL, FR and ES to the custom layers --- rootfs/etc/s6-overlay/scripts/61-layer | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/rootfs/etc/s6-overlay/scripts/61-layer b/rootfs/etc/s6-overlay/scripts/61-layer index 06e6f1d..1a5f9f3 100755 --- a/rootfs/etc/s6-overlay/scripts/61-layer +++ b/rootfs/etc/s6-overlay/scripts/61-layer @@ -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