Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/archbuild.in
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2022-12-30 16:49:58 +0100
committerLevente Polyak <anthraxx@archlinux.org>2023-05-20 00:08:11 +0200
commite0307c7925168f58c3ec5077ea9915db81d4f62a (patch)
tree4d9a890a131d641dc9c7618be45b48200fd5e78d /src/archbuild.in
parent5752488ef114513c8f75d753cf91d5b61dfa0660 (diff)
conf: move makepkg and pacman config into separate conf.d dirs
We have used the datadir like a kitchen sink, lets clean up a bit by having a better and well structured layout. Put makepkg and pacman configs in separate directories: makepkg.conf.d and pacman.conf.d.
Diffstat (limited to 'src/archbuild.in')
-rw-r--r--src/archbuild.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/archbuild.in b/src/archbuild.in
index 3367011..a7e4231 100644
--- a/src/archbuild.in
+++ b/src/archbuild.in
@@ -46,13 +46,13 @@ done
chroots='/var/lib/archbuild'
clean_first=false
-pacman_config="@pkgdatadir@/pacman-${repo}.conf"
-if [[ -f @pkgdatadir@/pacman-${repo}-${arch}.conf ]]; then
- pacman_config="@pkgdatadir@/pacman-${repo}-${arch}.conf"
+pacman_config="@pkgdatadir@/pacman.conf.d/${repo}.conf"
+if [[ -f @pkgdatadir@/pacman.conf.d/${repo}-${arch}.conf ]]; then
+ pacman_config="@pkgdatadir@/pacman.conf.d/${repo}-${arch}.conf"
fi
-makepkg_config="@pkgdatadir@/makepkg-${arch}.conf"
-if [[ -f @pkgdatadir@/makepkg-${repo}-${arch}.conf ]]; then
- makepkg_config="@pkgdatadir@/makepkg-${repo}-${arch}.conf"
+makepkg_config="@pkgdatadir@/makepkg.conf.d/${arch}.conf"
+if [[ -f @pkgdatadir@/makepkg.conf.d/${repo}-${arch}.conf ]]; then
+ makepkg_config="@pkgdatadir@/makepkg.conf.d/${repo}-${arch}.conf"
fi
usage() {