diff options
Diffstat (limited to 'mate-base/mate-session-manager/files/10-user-dirs-update-mate-r1')
-rw-r--r-- | mate-base/mate-session-manager/files/10-user-dirs-update-mate-r1 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mate-base/mate-session-manager/files/10-user-dirs-update-mate-r1 b/mate-base/mate-session-manager/files/10-user-dirs-update-mate-r1 new file mode 100644 index 000000000000..994d978dcb3d --- /dev/null +++ b/mate-base/mate-session-manager/files/10-user-dirs-update-mate-r1 @@ -0,0 +1,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 [ "$XDG_CURRENT_DESKTOP" = "MATE" ]; then + if type xdg-user-dirs-update >/dev/null 2>&1; then + xdg-user-dirs-update + fi +fi |