From dc0c250ebeebc929347823e47921443c4edee24d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 24 Apr 2016 20:14:15 +0100 Subject: cherry pick upower1 API support for mate-session-manager && mate-power-manager --- mate-base/mate-session-manager/files/15-xdg-data-mate | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 mate-base/mate-session-manager/files/15-xdg-data-mate (limited to 'mate-base/mate-session-manager/files/15-xdg-data-mate') 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 -- cgit v1.2.3