From d69a0e6648e991514d05e8a4b5f5d205c16c6455 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 19 Aug 2015 16:33:59 +0100 Subject: 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 --- mate-base/mate-session-manager/files/10-user-dirs-update-mate | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 mate-base/mate-session-manager/files/10-user-dirs-update-mate (limited to 'mate-base/mate-session-manager/files/10-user-dirs-update-mate') 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 -- cgit v1.2.3