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

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-08-03 20:28:00 +02:00
parent 23aca94dee
commit 6b8999a959

View File

@@ -74,11 +74,14 @@ echo "locales locales/default_environment_locale select ${locale_locale:-en_US.U
dpkg-reconfigure -f noninteractive locales
locale-gen
if ! locale -a | grep -qx "${locale_locale:-en_US.UTF-8}"; then
if ! locale -a | grep -qx "${locale_locale:-en_US.UTF-8}" > /dev/null 2>&1 || true; then
echo "ERROR: Locale '${locale_locale:-en_US.UTF-8}' has not been generated successfully." >&2
sleep 30
fi
locale -a
cat /etc/locale.gen
if update-locale \
LANG=${locale_locale} \
LC_ADDRESS=${locale_override_address:-${locale_locale}} \