This commit is contained in:
Daniel Langbein 2021-05-03 18:36:19 +02:00
parent d7f8752bd7
commit f038126679
3 changed files with 3 additions and 12 deletions

View File

@ -1,24 +1,13 @@
pre_install() {
mv /etc/locale.conf /etc/locale.conf.bkp
}
post_install() { post_install() {
# holo apply --force file:/etc/locale.conf
holo apply --force file:/etc/locale.gen holo apply --force file:/etc/locale.gen
# holo apply --force file:/etc/localtime
locale-gen locale-gen
} }
post_upgrade() { post_upgrade() {
# holo apply --force file:/etc/locale.conf
holo apply --force file:/etc/locale.gen holo apply --force file:/etc/locale.gen
# holo apply --force file:/etc/localtime
locale-gen locale-gen
} }
post_remove() { post_remove() {
holo apply holo apply
mv /etc/locale.conf.bkp /etc/locale.conf
} }

View File

@ -2,7 +2,7 @@
_pkgname=locale _pkgname=locale
_reponame=arch _reponame=arch
pkgname="de-p1st-$_pkgname" pkgname="de-p1st-$_pkgname"
pkgver=0.0.6 pkgver=0.0.7
pkgrel=1 pkgrel=1
pkgdesc="locale and timezone" pkgdesc="locale and timezone"
arch=('any') arch=('any')

View File

@ -1,5 +1,7 @@
# locale # locale
Note: One may need to delete `/etc/locale.conf` and `/etc/localtime` before installing this pkg
## locale.conf ## locale.conf
* Archwiki: [Locale](https://wiki.archlinux.org/index.php/Locale) * Archwiki: [Locale](https://wiki.archlinux.org/index.php/Locale)