summaryrefslogtreecommitdiff
path: root/libre/pacman/makepkg.conf.in
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-08-26 15:42:58 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-08-26 15:42:58 -0400
commit73982c5ad7057ce2fdec669d962aec6c9caf28c8 (patch)
tree8e966672881b42d16930c5089f73ae4c9c922d97 /libre/pacman/makepkg.conf.in
parent89953235cbab39a4c39b8085161a8c7175d4867a (diff)
downloadabslibre-73982c5ad7057ce2fdec669d962aec6c9caf28c8.tar.gz
abslibre-73982c5ad7057ce2fdec669d962aec6c9caf28c8.tar.bz2
abslibre-73982c5ad7057ce2fdec669d962aec6c9caf28c8.zip
libre/pacman: default config: Load modular configuration files
https://lists.parabola.nu/pipermail/dev/2017-December/006177.html
Diffstat (limited to 'libre/pacman/makepkg.conf.in')
-rw-r--r--libre/pacman/makepkg.conf.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/libre/pacman/makepkg.conf.in b/libre/pacman/makepkg.conf.in
index 9b90a2b26..3fc6ed099 100644
--- a/libre/pacman/makepkg.conf.in
+++ b/libre/pacman/makepkg.conf.in
@@ -143,3 +143,13 @@ COMPRESSZ=(compress -c -f)
#
PKGEXT='.pkg.tar.xz'
SRCEXT='.src.tar.gz'
+
+#########################################################################
+# MODULAR CONFIGURATION
+#########################################################################
+#
+for file in /etc/makepkg.d/*.conf; do
+ [[ -f "$file" ]] || continue
+ source "$file"
+done
+unset file