From 74e2335cdb6a06d5294261e0bd79c59e79f9d37f Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 6 Sep 2024 22:22:14 +0200 Subject: [PATCH] monetary/alpine --- spcd/bootstrap.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index a3b484a..d621bfe 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -887,9 +887,6 @@ spcd_txt_locale() { ;; esac local name - for name in "${@}"; do - echo "${name}" - done case "${action}" in "list") if ! locale; then @@ -927,7 +924,12 @@ spcd_txt_locale() { "LC_NUMERIC") regex="^\(decimal\|thousands\|grouping\)" ;; "LC_TIME") regex="^\(day\|mon\)" ;; # LC_COLLATE - "LC_MONETARY") regex="^\(int_curr\|currency\|mon_\)" ;; + "LC_MONETARY") + case "${SPCD_OS_ID}" in + "${SPCD_OS_ALPINE}") ;; + *) regex="^\(int_curr\|currency\|mon_\)" ;; + esac + ;; "LC_MESSAGES") regex="^\(yes\|no\)" ;; "LC_PAPER") regex="^\(height\|width\)" ;; "LC_NAME") regex="^name_m" ;;