1
0
mirror of https://github.com/lesderid/image-archlinux synced 2025-04-11 14:45:39 +02:00

Disable unused locales

This commit is contained in:
Les De Ridder 2016-04-28 20:34:49 +02:00
parent 7bca128200
commit 8c30f40e0b

View File

@ -39,7 +39,8 @@ RUN pacman -Sy --noconfirm \
# Locales
RUN sed -e 's/^\#en_US.UTF-8/en_US.UTF-8/;s/^\#en_GB.UTF-8/en_GB.UTF-8/' -i /etc/locale.gen \
RUN sed 's/^\([^#]\)/#\1/' -i /etc/locale.gen \
&& sed 's/^#en_US.UTF-8/en_US.UTF-8/;s/^#en_GB.UTF-8/en_GB.UTF-8/' -i /etc/locale.gen \
&& echo LANG=en_GB.UTF-8 > /etc/locale.conf \
&& locale-gen