summaryrefslogtreecommitdiffstats
path: root/kde/gtk-kde4/fix-permission.patch
blob: 25204e45fe8d29598eada0ec695cc2dcdebee84f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- gtk-kde4/CMakeLists.txt~	2009-11-21 05:49:31.009714048 +0100
+++ gtk-kde4/CMakeLists.txt	2009-11-21 05:50:23.879702352 +0100
@@ -23,14 +23,7 @@
 
 ADD_SUBDIRECTORY(daemon)
 
-INSTALL(FILES daemon/gtk-kde4 DESTINATION ${KDE4_BIN_INSTALL_DIR} PERMISSIONS WORLD_EXECUTE)
-INSTALL(FILES .gtkrc-2.0-kde4 DESTINATION $ENV{HOME} PERMISSIONS WORLD_READ)
-
-string(LENGTH conf len)
-IF (NOT len)
-  INSTALL(FILES daemon/gtk-kde4.desktop DESTINATION $ENV{XDG_CONFIG_DIRS}/autostart PERMISSIONS WORLD_EXECUTE)
-ELSE()
-  INSTALL(FILES daemon/gtk-kde4.desktop DESTINATION /etc/xdg/autostart PERMISSIONS WORLD_EXECUTE WORLD_READ)
-ENDIF()
+INSTALL(PROGRAMS daemon/gtk-kde4 DESTINATION ${KDE4_BIN_INSTALL_DIR})
+INSTALL(PROGRAMS daemon/gtk-kde4.desktop DESTINATION /etc/xdg/autostart)
 
 INSTALL(SCRIPT CMakeSymlink)
\ No newline at end of file