mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
fix de-p1st-locale 2
This commit is contained in:
parent
ee58aef3d9
commit
7e13bac973
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user