mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-19 22:46:20 -05:00
Setting debian locale.
This commit is contained in:
parent
8bb240c996
commit
18d3cfd686
1 changed files with 3 additions and 2 deletions
|
|
@ -6,8 +6,9 @@ set -x
|
|||
|
||||
# Generate and set default locale to avoid perl warnings.
|
||||
# Users can change this later via: sudo dpkg-reconfigure locales
|
||||
locale-gen en_US.UTF-8
|
||||
update-locale LANG=en_US.UTF-8
|
||||
sed -i 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
|
||||
locale-gen
|
||||
echo 'LANG=en_US.UTF-8' > /etc/default/locale
|
||||
export LANG=en_US.UTF-8
|
||||
|
||||
cat >>/etc/profile <<'EOF'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue