Add script to install locale (#25791)

This commit is contained in:
Santobert authored and Pascal Vizeli committed 2019-08-09 21:08:35 +02:00
1 parent 6909235d8a
commit a66814c772
4 files changed
+19

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Sets up locales.
# Stop on errors
set -e
apt-get update
apt-get install -y --no-install-recommends locales
# Set the locale
sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
locale-gen