From 2fe6afe46008c50ef7d3a9b505ca5cf28c355f3c Mon Sep 17 00:00:00 2001 From: Raphaƫl Hertzog Date: Tue, 29 Aug 2017 12:26:28 +0200 Subject: Initialize /etc/default/locale with LANG=C.UTF-8 That way we always have a valid UTF-8 locale even when we don't have the "locales" (or "locales-all") package installed. --- share/hooks/normal/0040-create-locales-files.hook.chroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/hooks/normal') diff --git a/share/hooks/normal/0040-create-locales-files.hook.chroot b/share/hooks/normal/0040-create-locales-files.hook.chroot index 8a5a8677c..cd240608a 100755 --- a/share/hooks/normal/0040-create-locales-files.hook.chroot +++ b/share/hooks/normal/0040-create-locales-files.hook.chroot @@ -4,4 +4,4 @@ set -e # Create /etc/environment and /etc/default/locale touch /etc/environment -touch /etc/default/locale +echo "LANG=C.UTF-8" >/etc/default/locale -- cgit v1.2.3