Annotation of /trunk/polkit-kde/patches/polkit-kde-0.95.1-autostart-dir.patch
Parent Directory | Revision Log
Revision 1068 -
(hide annotations)
(download)
Mon Aug 9 14:41:05 2010 UTC (14 years, 1 month ago) by niro
File size: 804 byte(s)
Mon Aug 9 14:41:05 2010 UTC (14 years, 1 month ago) by niro
File size: 804 byte(s)
added a better fix for the autostart directory issue
1 | niro | 1068 | Index: agent/CMakeLists.txt |
2 | =================================================================== | ||
3 | --- agent/CMakeLists.txt (revision 1093193) | ||
4 | +++ agent/CMakeLists.txt (revision 1093194) | ||
5 | @@ -18,11 +18,4 @@ | ||
6 | |||
7 | install(TARGETS polkit-kde-authentication-agent-1 DESTINATION ${LIBEXEC_INSTALL_DIR}) | ||
8 | |||
9 | -# Install .desktop file to the XDG_CONFIG_DIRS if exists, to the /etc/xdg/autostart otherwise | ||
10 | -set (DESKTOP_INSTALL_DIR $ENV{XDG_CONFIG_DIRS}) | ||
11 | -if (DESKTOP_INSTALL_DIR) | ||
12 | -else (DESKTOP_INSTALL_DIR) | ||
13 | - set (DESKTOP_INSTALL_DIR /etc/xdg/autostart) | ||
14 | -endif (DESKTOP_INSTALL_DIR) | ||
15 | - | ||
16 | -install(FILES ${CMAKE_BINARY_DIR}/polkit-kde-authentication-agent-1.desktop DESTINATION ${DESKTOP_INSTALL_DIR}) | ||
17 | +install(FILES ${CMAKE_BINARY_DIR}/polkit-kde-authentication-agent-1.desktop DESTINATION ${KDE4_AUTOSTART_INSTALL_DIR}) |