summaryrefslogtreecommitdiff
blob: 40f2fd13b3436050d8a799cded453ec8c52f34ab (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

if [ "$XDG_CURRENT_DESKTOP" = "MATE" -o \
	"$XDG_SESSION_DESKTOP" = "mate" -o \
	"$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