Files
myos/docker/x2go/xfce-debian/setup_locales.sh
T
Yann Autissier f05f55cfdd add x2go/xfce-debian docker image
* VDI server with temporary encrypted /home
2022-04-05 18:07:14 +02:00

10 lines
270 B
Bash
Executable File

#!/bin/sh
set -eu
LANG=${LANG:-C.UTF-8}
LOCALES=${LOCALES:-${LANG} ${LANG##*.}}
printf "LANG=%s\n" "${LANG}" > /etc/default/locale
rm /etc/locale.gen && printf "%s\n" "${LOCALES}" |while read locale; do
printf "%s\n" "${locale}" >> /etc/locale.gen
done && locale-gen