diff options
author | V3n3RiX <venerix@gmail.com> | 2014-11-27 22:01:02 +0200 |
---|---|---|
committer | V3n3RiX <venerix@gmail.com> | 2014-11-27 22:01:02 +0200 |
commit | d55d89880e9b049cd8b858ea15f676b94eb313c3 (patch) | |
tree | a96818e2e90432e9ef7eb533a44890790b0bda8e /mate-base/mate-session-manager/files/10-user-dirs-update-mate | |
parent | 795d47ffbf1551cfc9a115eebf4a1f898fcf4c50 (diff) |
add mate-session-manager
Diffstat (limited to 'mate-base/mate-session-manager/files/10-user-dirs-update-mate')
-rwxr-xr-x | mate-base/mate-session-manager/files/10-user-dirs-update-mate | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mate-base/mate-session-manager/files/10-user-dirs-update-mate b/mate-base/mate-session-manager/files/10-user-dirs-update-mate new file mode 100755 index 00000000..35973aae --- /dev/null +++ b/mate-base/mate-session-manager/files/10-user-dirs-update-mate @@ -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 [ "$DESKTOP_SESSION" = "mate" ]; then + if type xdg-user-dirs-update >/dev/null 2>&1; then + xdg-user-dirs-update + fi +fi |