[FIX] point_of_sale: Fix locale variable for the IoT Box

We change the locale variable from en_GB to en_US.
But we need to re-generate variables.

X-original-commit: 0c5b5078872263a160fac56a1c326620c5e1d765
This commit is contained in:
lejeune quentin
2019-11-29 16:09:20 +00:00
parent 53252ed7bc
commit e943e80526
2 changed files with 10 additions and 0 deletions
@@ -12,9 +12,12 @@ __base="$(basename ${__file} .sh)"
export DEBIAN_FRONTEND=noninteractive
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
# set locale to en_US
echo "set locale to en_US"
echo "export LANGUAGE=en_US.UTF-8" >> ~/.bashrc
echo "export LANG=en_US.UTF-8" >> ~/.bashrc
echo "export LC_ALL=en_US.UTF-8" >> ~/.bashrc
locale-gen
source ~/.bashrc
apt-get update && apt-get -y upgrade
@@ -0,0 +1,7 @@
# This file lists locales that you wish to have built. You can find a list
# of valid supported locales at /usr/share/i18n/SUPPORTED, and you can add
# user defined locales to /usr/local/share/i18n/SUPPORTED. If you change
# this file, you need to rerun locale-gen.
#
en_US.UTF-8 UTF-8