summaryrefslogtreecommitdiffstats
path: root/tdekbdledsync
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2013-08-17 16:25:16 +0200
committerSlávek Banko <[email protected]>2013-08-17 16:25:16 +0200
commit82958c52cc4e119f0f7dbbd6740a4491d383c9aa (patch)
tree53be734807891d04e155313f5f5dcc012dffa281 /tdekbdledsync
parentd4f7d3ed42bff12f1533a6ef2715e4c88ed461d2 (diff)
downloadtdebase-82958c52cc4e119f0f7dbbd6740a4491d383c9aa.tar.gz
tdebase-82958c52cc4e119f0f7dbbd6740a4491d383c9aa.zip
Use standard cmake way to install setuid binaries
Diffstat (limited to 'tdekbdledsync')
-rw-r--r--tdekbdledsync/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/tdekbdledsync/CMakeLists.txt b/tdekbdledsync/CMakeLists.txt
index 1fd78e7b3..a7ba5c621 100644
--- a/tdekbdledsync/CMakeLists.txt
+++ b/tdekbdledsync/CMakeLists.txt
@@ -25,7 +25,6 @@ tde_add_executable( tdekbdledsync
SOURCES getfd.c main.cpp
LINK udev X11
DESTINATION ${BIN_INSTALL_DIR}
+ SETUID
)
-install( CODE "execute_process( COMMAND chown 0 \$ENV{DESTDIR}${_destination}/tdekbdledsync )" )
-install( CODE "execute_process( COMMAND chmod 4755 \$ENV{DESTDIR}${_destination}/tdekbdledsync )" )