diff options
author | Stefan Cristian B. <steven.darklight@gmail.com> | 2014-11-28 01:21:44 +0200 |
---|---|---|
committer | Stefan Cristian B. <steven.darklight@gmail.com> | 2014-11-28 01:21:44 +0200 |
commit | ede98c7a9a1b52964fa70f7d58fdd74c1a55727f (patch) | |
tree | 248dc0fb0a0013d339457939d38cf70d624b6b02 /mate-base/mate-session-manager/files/10-user-dirs-update-mate | |
parent | 795d47ffbf1551cfc9a115eebf4a1f898fcf4c50 (diff) | |
parent | 0971bb357193d59a1a43d571c9e7ce33a3071e4c (diff) |
Merge pull request #8 from V3n3RiX/master
cherry pick upower1 API support for 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 |