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

View File

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

View File

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

View File

@ -1,10 +1,12 @@
post_install() { post_install() {
post_upgrade post_upgrade
ln -s ../usr/share/zoneinfo/Europe/Amsterdam /etc/localtime ln -s ../usr/share/zoneinfo/Europe/Amsterdam /etc/localtime
echo "LANG=en_US.UTF-8" > /etc/locale.conf
} }
post_upgrade() { post_upgrade() {
echo "LANG=en_US.UTF-8" > /etc/locale.conf for lang in en_US.UTF-8 de_AT.UTF-8 nl_NL.UTF-8 ja_JP.UTF-8; do
sed 's/#\(en_US.UTF-8\)/\1/' -i /etc/locale.gen sed 's/#\('$lang'\)/\1/' -i /etc/locale.gen
done
locale-gen locale-gen
} }