Add script to install locale (#25791)
This commit is contained in:
1 parent
6909235d8a
commit
a66814c772
4 files changed
+19
No files matched your search
Executable
+12
@@ -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
|
||||
Reference in new issue
Block a user