fix de-p1st-locale 2

This commit is contained in:
Daniel Langbein 2021-05-02 20:09:13 +02:00
parent ee58aef3d9
commit 7e13bac973
2 changed files with 12 additions and 3 deletions

View File

@ -1,10 +1,16 @@
post_install() {
holo apply
holo apply --force file:/etc/locale.conf
holo apply --force file:/etc/locale.gen
holo apply --force file:/etc/localtime
locale-gen
}
post_upgrade() {
holo apply
holo apply --force file:/etc/locale.conf
holo apply --force file:/etc/locale.gen
holo apply --force file:/etc/localtime
locale-gen
}

View File

@ -2,7 +2,7 @@
_pkgname=locale
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.0.2
pkgver=0.0.3
pkgrel=1
pkgdesc="locale and timezone"
arch=('any')
@ -26,6 +26,9 @@ sha256sums=('SKIP')
package() {
cd "${_reponame}/pkg/${pkgname}"
# Note: The following three files are overwritten with "holo apply --force ..."
# See ".install" script
install -Dm0644 locale.conf "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/locale.conf
install -Dm0644 locale.gen "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/locale.gen