summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Proschofsky <suka@gentoo.org>2012-06-06 08:32:13 +0000
committerAndreas Proschofsky <suka@gentoo.org>2012-06-06 08:32:13 +0000
commit5eb48a196886c7312289bf720beb7874ffe8389e (patch)
tree9c802174fb14ad4498d5c13663892f027eec9198 /gnome-base/gnome-session/files/15-xdg-data-gnome-r1
parentFirst bunch of GNOME 3.5.2 stuff (diff)
downloadsuka-5eb48a196886c7312289bf720beb7874ffe8389e.tar.gz
suka-5eb48a196886c7312289bf720beb7874ffe8389e.tar.bz2
suka-5eb48a196886c7312289bf720beb7874ffe8389e.zip
Another bunch of GNOME 3.5.2 updates
svn path=/; revision=338
Diffstat (limited to 'gnome-base/gnome-session/files/15-xdg-data-gnome-r1')
-rw-r--r--gnome-base/gnome-session/files/15-xdg-data-gnome-r19
1 files changed, 9 insertions, 0 deletions
diff --git a/gnome-base/gnome-session/files/15-xdg-data-gnome-r1 b/gnome-base/gnome-session/files/15-xdg-data-gnome-r1
new file mode 100644
index 0000000..5eaa698
--- /dev/null
+++ b/gnome-base/gnome-session/files/15-xdg-data-gnome-r1
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if [ "$DESKTOP_SESSION" = "gnome" -o "$DESKTOP_SESSION" = "cinnamon" ]; then
+ if [ -z "$XDG_DATA_DIRS" ]; then
+ export XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/
+ else
+ export XDG_DATA_DIRS=/usr/share/gnome:"$XDG_DATA_DIRS"
+ fi
+fi