#!/bin/sh set -e # locale if [ -f /etc/locale.gen ] && command -v locale-gen ; then echo 'en_GB.UTF-8 UTF-8' > /etc/locale.gen locale-gen echo 'LANG="en_GB.UTF-8"' > /etc/default/locale else echo 'system.sh: Warning can not set locale' fi