--- polkit-kde-1-0.95.1.o/agent/CMakeLists.txt 2011-10-12 01:00:00.000000000 +0200 +++ polkit-kde-1-0.95.1/agent/CMakeLists.txt 2011-10-12 01:09:35.000000000 +0200 @@ -14,15 +14,4 @@ ${POLKITQT-1_AGENT_LIBRARY} ) -configure_file(polkit-kde-authentication-agent-1.desktop.in ${CMAKE_BINARY_DIR}/polkit-kde-authentication-agent-1.desktop) - 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}) -if (DESKTOP_INSTALL_DIR) -else (DESKTOP_INSTALL_DIR) - set (DESKTOP_INSTALL_DIR /etc/xdg/autostart) -endif (DESKTOP_INSTALL_DIR) - -install(FILES ${CMAKE_BINARY_DIR}/polkit-kde-authentication-agent-1.desktop DESTINATION ${DESKTOP_INSTALL_DIR})