mkessler-pkgs/mkessler-locale.install

14 lines
388 B
Text
Raw Permalink Normal View History

2022-07-25 12:25:04 +02:00
post_install() {
# set timezone
ln -sf /usr/share/zoneinfo/Europe/Brussels "/etc/localtime"
# set and generate locales, english as primary, german as secondary
echo "LANG=en_US.UTF-8" > /etc/locale.conf
sed 's/#en_US/en_US/' -i /etc/locale.gen
sed 's/#de_DE/de_DE/' -i /etc/locale.gen
locale-gen
# set keymap
echo 'KEYMAP=neo' > /etc/vconsole.conf
}