mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
update README
This commit is contained in:
parent
baf177e88f
commit
849cea271c
@ -46,6 +46,10 @@ Example:
|
|||||||
* [pkg/de-p1st-pacman/pacman.conf.holoscript](pkg/de-p1st-pacman/pacman.conf.holoscript)
|
* [pkg/de-p1st-pacman/pacman.conf.holoscript](pkg/de-p1st-pacman/pacman.conf.holoscript)
|
||||||
* [pkg/de-p1st-pacman/PKGBUILD](pkg/de-p1st-pacman/PKGBUILD)
|
* [pkg/de-p1st-pacman/PKGBUILD](pkg/de-p1st-pacman/PKGBUILD)
|
||||||
|
|
||||||
|
### Changing existing files that are not owned by any package
|
||||||
|
|
||||||
|
See [pkg/de-p1st-locale/PKGBUILD](pkg/de-p1st-locale/PKGBUILD) for an example.
|
||||||
|
|
||||||
### Home skeleton
|
### Home skeleton
|
||||||
|
|
||||||
Pacman should **never** change files in `$HOME`. To still be able to include
|
Pacman should **never** change files in `$HOME`. To still be able to include
|
||||||
|
@ -18,13 +18,11 @@ sha256sums=('SKIP')
|
|||||||
package() {
|
package() {
|
||||||
cd "${_reponame}/pkg/${pkgname}"
|
cd "${_reponame}/pkg/${pkgname}"
|
||||||
|
|
||||||
# Note: The following three files are overwritten with "holo apply --force ..."
|
|
||||||
# See ".install" script
|
|
||||||
|
|
||||||
# Copy locale.conf to /etc/locale.conf so that one package owns that file
|
# 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
|
# 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)
|
# 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
|
# and then use holo with "--force" to overwrite the local version with the desired one
|
||||||
|
# (see .install script)
|
||||||
install -Dm0644 locale.conf "$pkgdir"/etc/locale.conf
|
install -Dm0644 locale.conf "$pkgdir"/etc/locale.conf
|
||||||
install -Dm0644 locale.conf "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/locale.conf
|
install -Dm0644 locale.conf "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/locale.conf
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user