From 3dc0b09dc7b3e17b3eae7992098d1bc4edf166f7 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Sun, 1 Feb 2015 14:46:58 +0100 Subject: [PATCH] countries: prefer hardcoded details over imported data AN and CS are currently declared at GeoNames for some reason. Ignore those for consistent reserved marking. --- tools/mkcountries-geonames | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mkcountries-geonames b/tools/mkcountries-geonames index 2f12451..c203203 100755 --- a/tools/mkcountries-geonames +++ b/tools/mkcountries-geonames @@ -67,7 +67,7 @@ while (<>) { my ($iso, $name, $cont, $tld) = (split /\t/)[0, 4, 8, 9]; my @info = ($name, "c-\L$cont"); $info[3] = $tld if $tld =~ s/\A\.// and $tld ne lc $iso; - $cc{ lc $iso } = \@info; + $cc{ lc $iso } //= \@info; } $cc{io}->[2] = "Chagos Islands"; -- 2.30.0