fix: only enable UTF-8 locales
This commit is contained in:
parent
c6ceeae593
commit
a3feecf1c0
2
base.sh
2
base.sh
@ -13,7 +13,7 @@ cp -rfT rootfs/ /
|
||||
ln -sf "/usr/share/zoneinfo/$tz" /etc/localtime
|
||||
hwclock --systohc
|
||||
for l in "${locales[@]}"; do
|
||||
sed -i "/#\s*$l/s/^#\s*//" /etc/locale.gen
|
||||
sed -i "/#\s*$l.UTF-8/s/^#\s*//" /etc/locale.gen
|
||||
done
|
||||
locale-gen
|
||||
echo "LANG=$lang.UTF-8" > /etc/locale.conf
|
||||
|
Loading…
Reference in New Issue
Block a user