archpkgs/gebner-base/gebner-base.install

13 lines
309 B
Plaintext
Raw Normal View History

2020-12-26 15:32:52 +00:00
post_install() {
post_upgrade
ln -s ../usr/share/zoneinfo/Europe/Amsterdam /etc/localtime
2020-12-30 19:50:11 +00:00
echo "LANG=en_US.UTF-8" > /etc/locale.conf
2020-12-26 15:32:52 +00:00
}
post_upgrade() {
2020-12-30 19:50:11 +00:00
for lang in en_US.UTF-8 de_AT.UTF-8 nl_NL.UTF-8 ja_JP.UTF-8; do
sed 's/#\('$lang'\)/\1/' -i /etc/locale.gen
done
2020-12-26 15:32:52 +00:00
locale-gen
}