summaryrefslogtreecommitdiff
path: root/profile
diff options
context:
space:
mode:
authorDavid King <amigadave@amigadave.com>2015-05-15 16:55:25 +0100
committerDavid King <amigadave@amigadave.com>2015-05-15 17:00:38 +0100
commit27fdae4153ce8b1f4fbd2304356f273fb3a3b9f9 (patch)
treeb855cf44cc9612e7599d5b345cd34efc526b3afb /profile
parente72beada8aefebe96b17c74d5c0c438d897a433d (diff)
downloadxdg-app-27fdae4153ce8b1f4fbd2304356f273fb3a3b9f9.tar.gz
Add a simple profile.d snippet for XDG_DATA_DIRS
https://github.com/alexlarsson/xdg-app/issues/74
Diffstat (limited to 'profile')
-rw-r--r--profile/xdg-app.sh.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/profile/xdg-app.sh.in b/profile/xdg-app.sh.in
new file mode 100644
index 0000000..13887d1
--- /dev/null
+++ b/profile/xdg-app.sh.in
@@ -0,0 +1,4 @@
+# @sysconfdir@/profile.d/xdg-app.sh - set XDG_DATA_DIRS
+
+XDG_DATA_DIRS="$HOME/.local/share/xdg-app/exports/share:@localstatedir@/xdg-app/exports/share/:/usr/share"
+export XDG_DATA_DIRS