Code Review
/
AGL
/
meta-agl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
meta-app-framework: agl-session: Ensure XDG_DATA_DIRS is set
[AGL/meta-agl.git]
/
meta-app-framework
/
recipes-config
/
agl-session
/
files
/
50-xdg-data-dirs.sh
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
(file)
index 0000000..
15ec374
--- /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}"