Skip to content
Snippets Groups Projects
Commit 81216c3d authored by Stéphane Diemer's avatar Stéphane Diemer
Browse files

Fixed locale generation | refs #29485

parent 398020a9
No related branches found
No related tags found
No related merge requests found
......@@ -34,8 +34,10 @@ def setup(interactive=True):
"apt-get update",
"apt-get install --yes {}".format(" ".join(packages)),
# Locale
"locale-gen en_GB.UTF-8",
"update-locale LANG=en_GB.UTF-8 LANGUAGE=en_GB.UTF-8 LC_ALL=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8",
"sed -i 's@# en_GB.UTF-8 UTF-8@en_GB.UTF-8 UTF-8@' /etc/locale.gen",
"locale-gen 'en_GB.UTF-8'",
"locale -a",
"update-locale LANG='en_GB.UTF-8' LANGUAGE='en_GB.UTF-8' LC_ALL='en_GB.UTF-8' LC_ADDRESS='en_GB.UTF-8' LC_COLLATE='en_GB.UTF-8' LC_CTYPE='en_GB.UTF-8' LC_IDENTIFICATION='en_GB.UTF-8' LC_MEASUREMENT='en_GB.UTF-8' LC_MESSAGES='en_GB.UTF-8' LC_MONETARY='en_GB.UTF-8' LC_NAME='en_GB.UTF-8' LC_NUMERIC='en_GB.UTF-8' LC_PAPER='en_GB.UTF-8' LC_TELEPHONE='en_GB.UTF-8' LC_TIME='en_GB.UTF-8'",
# Copy vimrc file
"cp '{}/vimrc' /root/.vimrc".format(dir_path),
# Copy bashrc file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment