diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-10-30 20:52:32 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-11-29 18:15:37 -0500 |
commit | 2377050eaf8c212062454e343e1c75043b702961 (patch) | |
tree | b0a1fc0620ba35672f617790c901f8609f56d90f /src/lib | |
parent | dc87e08cdac2bd70d1d1f9412717fb226e8de387 (diff) |
lib/conf.sh: learn about XBS config files
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/conf.sh | 11 |
1 files changed, 11 insertions, 0 deletions
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 } |