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
|
||||
echo 'dhcp hostname set'
|
||||
|
||||
if [ -z "${LANG}" ]; then
|
||||
if [ ! -z "${LANG}" ]; then
|
||||
# set default locale
|
||||
cat <<EOF > $rootfs/etc/locale.gen
|
||||
${LANG} UTF-8
|
||||
|
|
Loading…
Reference in a new issue