From 7e13bac9732b59e740f0cc10ee1e90bbadec48e8 Mon Sep 17 00:00:00 2001 From: langfingaz Date: Sun, 2 May 2021 20:09:13 +0200 Subject: [PATCH] fix de-p1st-locale 2 --- pkg/de-p1st-locale/.install | 10 ++++++++-- pkg/de-p1st-locale/PKGBUILD | 5 ++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/pkg/de-p1st-locale/.install b/pkg/de-p1st-locale/.install index f26f581..bff9531 100644 --- a/pkg/de-p1st-locale/.install +++ b/pkg/de-p1st-locale/.install @@ -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 } diff --git a/pkg/de-p1st-locale/PKGBUILD b/pkg/de-p1st-locale/PKGBUILD index 2fcdd23..ac6ae22 100644 --- a/pkg/de-p1st-locale/PKGBUILD +++ b/pkg/de-p1st-locale/PKGBUILD @@ -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