gebner-base-5

This commit is contained in:
Gabriel Ebner 2020-12-30 20:50:11 +01:00
parent 15e75ab1fb
commit d26963c562
7 changed files with 7 additions and 4 deletions

@ -1,6 +1,6 @@
pkgbase = gebner-base
pkgdesc = Base system config
pkgver = 4
pkgver = 5
pkgrel = 1
url = https://git.gebner.org/gebner/archpkgs
install = gebner-base.install

@ -1,6 +1,6 @@
# Maintainer: Gabriel Ebner <gebner@gebner.org>
pkgname=gebner-base
pkgver=4
pkgver=5
pkgrel=1
pkgdesc="Base system config"
arch=(any)
@ -77,6 +77,7 @@ depends+=(
socat
openbsd-netcat
whois
inetutils
dstat
htop

@ -1,10 +1,12 @@
post_install() {
post_upgrade
ln -s ../usr/share/zoneinfo/Europe/Amsterdam /etc/localtime
echo "LANG=en_US.UTF-8" > /etc/locale.conf
}
post_upgrade() {
echo "LANG=en_US.UTF-8" > /etc/locale.conf
sed 's/#\(en_US.UTF-8\)/\1/' -i /etc/locale.gen
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
locale-gen
}