summaryrefslogtreecommitdiff
path: root/mate-base/mate-session-manager/files/10-user-dirs-update-mate
blob: 35973aae2447ba021284a6ec542c025629c48c83 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

# Create various XDG directories, and write ~/.config/user-dirs.dirs, etc.
# That file is read by glib to get XDG_PICTURES_DIR, etc

if [ "$DESKTOP_SESSION" = "mate" ]; then
	if type xdg-user-dirs-update >/dev/null 2>&1; then
		xdg-user-dirs-update
	fi
fi