This repository has been archived on 2020-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
install-scripts/base-setup/system.sh

13 lines
249 B
Bash
Raw Permalink Normal View History

2020-03-20 13:41:27 +00:00
#!/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