From: Michael Prokop Date: Thu, 4 Jun 2015 11:33:34 +0000 (+0200) Subject: Explicitely set LANGUAGE=C to avoid possible locale issues X-Git-Tag: v0.71~18 X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=commitdiff_plain;h=6f2677c7fe5fec2aa44856e395264959ced7a3cf Explicitely set LANGUAGE=C to avoid possible locale issues In github issue #48 the following was reported when running with option --debopt "--verbose --include=grub-pc,locales": | *** update-locale: Error: invalid locale settings: LANGUAGE=en_US:en LANG=en_US.UTF-8 While this shouldn't be a real problem but just a warning message it still might be a good idea to explictely reset LANGUAGE=C. See https://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html for details regarding LANG/LC_ALL/LANGUAGE handling. Fixes #48 @ github --- diff --git a/grml-debootstrap b/grml-debootstrap index 4554d46..5e30e00 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -84,6 +84,7 @@ MNTPOINT="/mnt/debootstrap.$$" # inside the chroot system locales might not be available, so use minimum: export LANG=C export LC_ALL=C +export LANGUAGE=C # make sure interactive mode is only executed when # using an empty configuration file or option --interactive