aboutsummaryrefslogtreecommitdiffstats
path: root/meta-app-framework/recipes-config/agl-session/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta-app-framework/recipes-config/agl-session/files')
-rw-r--r--meta-app-framework/recipes-config/agl-session/files/50-xdg-data-dirs.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-app-framework/recipes-config/agl-session/files/50-xdg-data-dirs.sh b/meta-app-framework/recipes-config/agl-session/files/50-xdg-data-dirs.sh
new file mode 100644
index 000000000..15ec3744a
--- /dev/null
+++ b/meta-app-framework/recipes-config/agl-session/files/50-xdg-data-dirs.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# use a default value if not already set
+XDG_DATA_DIRS="${XDG_DATA_DIRS:-/usr/local/share/:/usr/share}"
+
+# write our output
+echo "XDG_DATA_DIRS=${XDG_DATA_DIRS}"