From 84c0885f1fcca62823e5ce503aada81b14d86858 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 4 Sep 2024 14:25:32 +0200 Subject: [PATCH] locale/alpine --- spcd/bootstrap.sh | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 1e00290..a80e0f8 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -914,14 +914,19 @@ spcd_txt_locale() { "LC_COLLATE" \ "LC_MONETARY" \ "LC_MESSAGES" - set -- \ - "${@}" \ - "LC_PAPER" \ - "LC_NAME" \ - "LC_ADDRESS" \ - "LC_TELEPHONE" \ - "LC_MEASUREMENT" \ - "LC_IDENTIFICATION" + case "${SPCD_OS_ID}" in + "${SPCD_OS_ALPINE}") ;; + *) + set -- \ + "${@}" \ + "LC_PAPER" \ + "LC_NAME" \ + "LC_ADDRESS" \ + "LC_TELEPHONE" \ + "LC_MEASUREMENT" \ + "LC_IDENTIFICATION" + ;; + esac local name case "${action}" in "list")