locale finally fixed!

This commit is contained in:
Daniel Langbein 2021-05-13 19:21:07 +02:00
parent fc79d277ae
commit baf177e88f

View File

@ -3,7 +3,7 @@ _pkgname=locale
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.0.10
pkgrel=1
pkgrel=2
pkgdesc="locale and timezone"
arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}"
@ -22,8 +22,8 @@ package() {
# See ".install" script
# Copy locale.conf to /etc/locale.conf so that one package owns that file
# in this PKGBUILD, add /etc/locale.conf to backup array so that pacman does not fail if this file already exists on the filesystem
# (a ".pacnew" file will be created in that case)
# in this PKGBUILD, add /etc/locale.conf to backup array so that pacman does not fail
# if this file already exists on local filesystem (a ".pacnew" file will be created in that case)
# and then use holo with "--force" to overwrite the local version with the desired one
install -Dm0644 locale.conf "$pkgdir"/etc/locale.conf
install -Dm0644 locale.conf "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/locale.conf