From d03b1b934c17dd1c83db7f6d2d1c75be09b861a4 Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis Date: Wed, 7 Sep 2016 22:40:26 +0200 Subject: [PATCH] Use an entry in /etc/locale.gen --- scripts/install-essentials | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install-essentials b/scripts/install-essentials index f6a8692..0d17128 100755 --- a/scripts/install-essentials +++ b/scripts/install-essentials @@ -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