#!/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