Fix: locale setting causing multiple unwanted matches
This commit is contained in:
parent
db0fb0a21d
commit
93a46247bc
@ -1806,7 +1806,7 @@ install_base()
|
|||||||
|
|
||||||
echo "LANG=$LOCALE" > "$MNT/etc/locale.conf"
|
echo "LANG=$LOCALE" > "$MNT/etc/locale.conf"
|
||||||
cp -fv "$MNT/etc/locale.conf" "$MNT/etc/default/locale"
|
cp -fv "$MNT/etc/locale.conf" "$MNT/etc/default/locale"
|
||||||
sed -i "s/#en_US.UTF-8/en_US.UTF-8/g; s/#${LOCALE}/${LOCALE}/g" "$MNT/etc/locale.gen"
|
sed -i "s/#en_US.UTF-8/en_US.UTF-8/g; s/#${LOCALE} /${LOCALE} /g" "$MNT/etc/locale.gen"
|
||||||
chrun "locale-gen"
|
chrun "locale-gen"
|
||||||
chrun "ln -svf /usr/share/zoneinfo/$ZONE/$SUBZ /etc/localtime"
|
chrun "ln -svf /usr/share/zoneinfo/$ZONE/$SUBZ /etc/localtime"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user