summaryrefslogtreecommitdiff
path: root/mate-base/mate-session-manager/files/15-xdg-data-mate
diff options
context:
space:
mode:
authorV3n3RiX <venerix@gmail.com>2014-11-27 22:01:02 +0200
committerV3n3RiX <venerix@gmail.com>2014-11-27 22:01:02 +0200
commitd55d89880e9b049cd8b858ea15f676b94eb313c3 (patch)
treea96818e2e90432e9ef7eb533a44890790b0bda8e /mate-base/mate-session-manager/files/15-xdg-data-mate
parent795d47ffbf1551cfc9a115eebf4a1f898fcf4c50 (diff)
add mate-session-manager
Diffstat (limited to 'mate-base/mate-session-manager/files/15-xdg-data-mate')
-rw-r--r--mate-base/mate-session-manager/files/15-xdg-data-mate9
1 files changed, 9 insertions, 0 deletions
diff --git a/mate-base/mate-session-manager/files/15-xdg-data-mate b/mate-base/mate-session-manager/files/15-xdg-data-mate
new file mode 100644
index 00000000..df360cf8
--- /dev/null
+++ b/mate-base/mate-session-manager/files/15-xdg-data-mate
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if [ "$DESKTOP_SESSION" = "mate" ]; then
+ if [ -z "$XDG_DATA_DIRS" ]; then
+ export XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/
+ else
+ export XDG_DATA_DIRS=/usr/share/mate:"$XDG_DATA_DIRS"
+ fi
+fi