summaryrefslogtreecommitdiffstats
path: root/kde/polkit-kde/xdg-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'kde/polkit-kde/xdg-path.patch')
-rw-r--r--kde/polkit-kde/xdg-path.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/kde/polkit-kde/xdg-path.patch b/kde/polkit-kde/xdg-path.patch
new file mode 100644
index 000000000..872523bb3
--- /dev/null
+++ b/kde/polkit-kde/xdg-path.patch
@@ -0,0 +1,13 @@
+--- agent/CMakeLists.txt 2009-12-23 12:31:29.000000000 +0100
++++ agent/CMakeLists.txt 2010-02-10 21:26:05.183779591 +0100
+@@ -18,8 +18,8 @@
+
+ install(TARGETS polkit-kde-authentication-agent-1 DESTINATION ${LIBEXEC_INSTALL_DIR})
+
+-# Install .desktop file to the XDG_CONFIG_DIRS if exists, to the /etc/xdg/autostart otherwise
+-set (DESKTOP_INSTALL_DIR $ENV{XDG_CONFIG_DIRS})
++# Install .desktop file to the XDG_CONFIG_DIRS/autostart if exists, to the /etc/xdg/autostart otherwise
++set (DESKTOP_INSTALL_DIR $ENV{XDG_CONFIG_DIRS}/autostart)
+ if (DESKTOP_INSTALL_DIR)
+ else (DESKTOP_INSTALL_DIR)
+ set (DESKTOP_INSTALL_DIR /etc/xdg/autostart)