[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:
@@ -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
|
||||
Reference in New Issue
Block a user