diff options
author | V3n3RiX <venerix@gmail.com> | 2015-08-19 16:33:59 +0100 |
---|---|---|
committer | V3n3RiX <venerix@gmail.com> | 2015-08-19 16:33:59 +0100 |
commit | d69a0e6648e991514d05e8a4b5f5d205c16c6455 (patch) | |
tree | 836882f522fdcd95561e471815bca987699f925f /mate-base/mate-session-manager/files/10-user-dirs-update-mate | |
parent | 3bd4e9fe67ccf3ffade8c12513f6e5185b5cedeb (diff) |
cherry pick upower 0.99 support for mate-session-manager && mate-power-manager, and force them to link only against it, dropping upower-pm-utils
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 |