Commit 57f61aa7 by Daniel Baumann Committed by Daniel Lezcano

Correcting charset argument when calling locale-gen.

parent 346645ef
...@@ -76,10 +76,10 @@ EOF ...@@ -76,10 +76,10 @@ EOF
# reconfigure some services # reconfigure some services
if [ -z "$LANG" ]; then if [ -z "$LANG" ]; then
chroot $rootfs locale-gen en_US.UTF-8 chroot $rootfs locale-gen en_US.UTF-8 UTF-8
chroot $rootfs update-locale LANG=en_US.UTF-8 chroot $rootfs update-locale LANG=en_US.UTF-8
else else
chroot $rootfs locale-gen $LANG chroot $rootfs locale-gen $LANG $(echo $LANG | cut -d. -f2)
chroot $rootfs update-locale LANG=$LANG chroot $rootfs update-locale LANG=$LANG
fi 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