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() {
# 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 --force file:/etc/locale.conf
holo apply --force file:/etc/locale.gen
# holo apply --force file:/etc/localtime
locale-gen
}
post_remove() {
holo apply
mv /etc/locale.conf.bkp /etc/locale.conf
}

View File

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

View File

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