Commit 1f0a134b authored by Anton Midyukov's avatar Anton Midyukov

sub.in/rootfs: add image-scripts.d/00-lang-C for set LANG=C.UTF-8

Now C.UTF-8 in glibc, but not in p10.
parent 424373cb
#!/bin/sh
# Set fallback unicode locale
# Overrides in use/l10n
[ -d /usr/lib/locale/C.utf8 ] || exit 0
systemd_locale=/etc/locale.conf
sysv_locale=/etc/sysconfig/i18n
which localectl 2>&1 >/dev/null && echo LANG=C.UTF-8 > "$systemd_locale"
if [ -f "$sysv_locale" ]; then
echo LANG=C.UTF-8 > "$sysv_locale"
echo SUPPORTED=C.UTF-8 >> "$sysv_locale"
fi
:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment