From 335cd41eca325a76bd0db0ae6273b1607552d9f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Cezar=20Mois=C3=A9s?= Date: Sat, 4 Jan 2025 04:14:11 +0000 Subject: [PATCH] Update update-en-US-packs.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Cristian Cezar Moisés --- scripts/update-en-US-packs.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/update-en-US-packs.sh b/scripts/update-en-US-packs.sh index 03f2b05fc..ac7425258 100644 --- a/scripts/update-en-US-packs.sh +++ b/scripts/update-en-US-packs.sh @@ -2,14 +2,14 @@ # Function to display usage usage() { - echo "Usage: $0 " - echo "Example: $0 en-US" - exit 1 + echo "Usage: $0 " + echo "Example: $0 en-US" + exit 1 } # Check if language code is provided if [ -z "$1" ]; then - usage + usage fi LANGUAGE_CODE="$1" @@ -18,8 +18,8 @@ LANGUAGE_CODE="$1" echo "Copying language pack for: $LANGUAGE_CODE" if sh ./scripts/copy-language-pack.sh "$LANGUAGE_CODE"; then - echo "Successfully copied language pack for: $LANGUAGE_CODE" + echo "Successfully copied language pack for: $LANGUAGE_CODE" else - echo "Error: Failed to copy language pack for: $LANGUAGE_CODE" >&2 - exit 1 + echo "Error: Failed to copy language pack for: $LANGUAGE_CODE" >&2 + exit 1 fi