V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 48s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-08-03 19:02:59 +02:00
parent 8df8b1f4ba
commit c5cb04f809

View File

@@ -41,7 +41,7 @@ guard_sourcing
#######################################
setup_locales() {
### Declare Arrays, HashMaps, and Variables.
declare var_locale_hook="${TARGET}/root/.ciss/cdi/hooks/4050_setup_locales.hooks.sh"
declare var_locale_hook="/root/.ciss/cdi/hooks/4050_setup_locales.hooks.sh"
### Give priority to '${locale_locale}' over separately configured variables '${locale_country}' and '${locale_language}'.
### If 'locale_locale' is not set, build it from 'locale_language' and 'locale_country'.
@@ -50,7 +50,7 @@ setup_locales() {
fi
### Creat Hook in target.
cat << EOF >| "${var_locale_hook}"
cat << EOF >| "${TARGET}${var_locale_hook}"
#!/bin/bash
# SPDX-Version: 3.0
# SPDX-CreationInfo: 2025-06-17; WEIDNER, Marc S.; <msw@coresecret.dev>
@@ -100,7 +100,7 @@ LC_ALL=
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
EOF
chmod 0700 "${var_locale_hook}"
chmod 0700 "${TARGET}${var_locale_hook}"
do_in_target_script "${TARGET}" "${var_locale_hook}"
### Set the keyboard layout for the system (for consoles).