summaryrefslogtreecommitdiff
path: root/gnome-base/gnome-session/files/15-xdg-data-gnome-r1
blob: 5eaa6985d9dc3587acd927f1037267d88ce58697 (plain)
1
2
3
4
5
6
7
8
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