Fix $LANG support
This commit is contained in:
parent
7f338da734
commit
14afc0b814
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ send host-name "$hostname";
|
||||||
EOF
|
EOF
|
||||||
echo 'dhcp hostname set'
|
echo 'dhcp hostname set'
|
||||||
|
|
||||||
if [ -z "${LANG}" ]; then
|
if [ ! -z "${LANG}" ]; then
|
||||||
# set default locale
|
# set default locale
|
||||||
cat <<EOF > $rootfs/etc/locale.gen
|
cat <<EOF > $rootfs/etc/locale.gen
|
||||||
${LANG} UTF-8
|
${LANG} UTF-8
|
||||||
|
|
Loading…
Add table
Reference in a new issue