summaryrefslogtreecommitdiff
path: root/src/libretools.conf
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-05-24 01:16:21 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-05-24 01:16:21 -0400
commit75e3c4c6a363ea44a8aa926f2882ff779a48ac52 (patch)
tree925a85bb2015f6a51a155d8f9a40a4a789adffde /src/libretools.conf
parent8af4165fe35df0cdc1fb23b0b4974488e6b5fa32 (diff)
libretools.conf: autodetect ARCHES based on /usr/share/pacman/defaults/
Diffstat (limited to 'src/libretools.conf')
-rw-r--r--src/libretools.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libretools.conf b/src/libretools.conf
index b641e77..fb4593c 100644
--- a/src/libretools.conf
+++ b/src/libretools.conf
@@ -16,7 +16,7 @@ DIFFPROG=$(which $([ -z "${DISPLAY:-}" ]||echo kdiff3 meld gvimdiff) vimdiff col
## The architectures you'll be packaging for
## Used by `librestage`, `xbs-abslibre`
-ARCHES=('x86_64' 'i686')
+ARCHES=($(printf '%s\n' /usr/share/pacman/defaults/pacman.conf.*|sed 's|.*\.||'))
## ABSLibre
# Used by xbs-abslibre