From 75e3c4c6a363ea44a8aa926f2882ff779a48ac52 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 24 May 2016 01:16:21 -0400 Subject: libretools.conf: autodetect ARCHES based on /usr/share/pacman/defaults/ --- src/libretools.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3-54-g00ecf