V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 53s
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:
@@ -74,11 +74,14 @@ echo "locales locales/default_environment_locale select ${locale_locale:-en_US.U
|
|||||||
dpkg-reconfigure -f noninteractive locales
|
dpkg-reconfigure -f noninteractive locales
|
||||||
locale-gen
|
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
|
echo "ERROR: Locale '${locale_locale:-en_US.UTF-8}' has not been generated successfully." >&2
|
||||||
sleep 30
|
sleep 30
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
locale -a
|
||||||
|
cat /etc/locale.gen
|
||||||
|
|
||||||
if update-locale \
|
if update-locale \
|
||||||
LANG=${locale_locale} \
|
LANG=${locale_locale} \
|
||||||
LC_ADDRESS=${locale_override_address:-${locale_locale}} \
|
LC_ADDRESS=${locale_override_address:-${locale_locale}} \
|
||||||
|
|||||||
Reference in New Issue
Block a user