Verified Commit 4c1dbc92 authored by quietone's avatar quietone
Browse files

Issue #3087630 by makbay, jungle, sahal_va, Abhijith S, Nikhil_110,...

Issue #3087630 by makbay, jungle, sahal_va, Abhijith S, Nikhil_110, smustgrave, longwave: Update the obsolete usage text inside core/scripts/update-countries.sh
parent c2fa6948
Loading
Loading
Loading
Loading
Loading
+5 −4
Changes for core/scripts/update-countries.sh: 5 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -11,6 +11,8 @@

use Drupal\Core\Locale\CountryManager;

// cspell:ignore localenames

// Determine DRUPAL_ROOT.
$dir = dirname(__FILE__);
while (!defined('DRUPAL_ROOT')) {
@@ -25,10 +27,9 @@

if (!file_exists($uri)) {
  $usage = <<< USAGE
- Choose the latest release data from http://cldr.unicode.org/index/downloads
  and download the json.zip file.
- Unzip the json.zip file and place the main/en/territories.json in the
  Drupal root directory.
- Download territories.json from
  https://github.com/unicode-org/cldr-json/blob/main/cldr-json/cldr-localenames-full/main/en/territories.json
  and place it in the Drupal root directory.
- Run this script.
USAGE;
  exit('CLDR data file not found. (' . $uri . ")\n\n" . $usage . "\n");