summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/conf.sh11
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
}