summaryrefslogtreecommitdiff
path: root/profile/flatpak.sh.in
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-05-09 11:07:53 +0200
committerAlexander Larsson <alexl@redhat.com>2016-05-09 11:11:55 +0200
commit8abbc0186efe977cec2a3214e7aa3703e9f1169f (patch)
treef02d20ec637609e32d473e45b1ad8b6a8a6de281 /profile/flatpak.sh.in
parentba37b22d78f3b1011ceab182c8a4a05d5ba630a7 (diff)
downloadxdg-app-8abbc0186efe977cec2a3214e7aa3703e9f1169f.tar.gz
Rename everything but the on-disk location to flatpak
Diffstat (limited to 'profile/flatpak.sh.in')
-rw-r--r--profile/flatpak.sh.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/profile/flatpak.sh.in b/profile/flatpak.sh.in
new file mode 100644
index 0000000..0fba9ee
--- /dev/null
+++ b/profile/flatpak.sh.in
@@ -0,0 +1,4 @@
+# @sysconfdir@/profile.d/flatpak.sh - set XDG_DATA_DIRS
+
+XDG_DATA_DIRS="${XDG_DATA_DIRS:-$HOME/.local/share/xdg-app/exports/share:@localstatedir@/xdg-app/exports/share/:/usr/local/share/:/usr/share/}"
+export XDG_DATA_DIRS