From 2377050eaf8c212062454e343e1c75043b702961 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 30 Oct 2013 20:52:32 -0400 Subject: lib/conf.sh: learn about XBS config files --- src/lib/conf.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src') diff --git a/src/lib/conf.sh b/src/lib/conf.sh index 7555794..07b6fd5 100644 --- a/src/lib/conf.sh +++ b/src/lib/conf.sh @@ -49,6 +49,14 @@ list_files() { echo "$LIBREHOME/.$slug.conf" fi ;; + xbs) + echo /etc/$slug.conf + echo "$XDG_CONFIG_HOME/$slug.conf" + ;; + xbs*) + echo /etc/xbs.d/$slug.conf + echo "$XDG_CONFIG_HOME/xbs.d/$slug.conf" + ;; libretools) echo /etc/$slug.conf echo "$XDG_CONFIG_HOME/libretools/$slug.conf" @@ -73,6 +81,9 @@ list_envvars() { PKGEXT SRCEXT \ GPGKEY PACKAGER ;; + xbs) + printf '%s\n' BUILDSYSTEM + ;; *) :;; esac } -- cgit v1.2.3-54-g00ecf