Use an entry in /etc/locale.gen

This commit is contained in:
Achilleas Pipinellis 2016-09-07 22:40:26 +02:00
parent d357ba3e55
commit d03b1b934c

View file

@ -18,7 +18,8 @@ apt-get install -y \
LOC=$'LC_ALL=en_US.UTF-8\nLANG=en_US.UTF-8'
echo "$LOC" > /etc/environment
cat /etc/environment
locale-gen "en_US en_US.UTF-8"
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
locale-gen
dpkg-reconfigure locales -f noninteractive -p critical
locale -a