Browse Source

Do not keep generated key in build folder

tags/1.0
Timo Röhling 11 years ago
parent
commit
14e1589ab7
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      postinstall.cmake.in

+ 1
- 0
postinstall.cmake.in View File

@@ -36,5 +36,6 @@ if(DD AND BASE64 AND EXISTS "/dev/urandom" AND NOT EXISTS "$ENV{DESTDIR}/etc/${S
36 36
 		OUTPUT_STRIP_TRAILING_WHITESPACE
37 37
 	)
38 38
 file(INSTALL "@CMAKE_CURRENT_BINARY_DIR@/${SECRET_FILE}" DESTINATION "/etc" FILE_PERMISSIONS OWNER_READ OWNER_WRITE)
39
+file(REMOVE "@CMAKE_CURRENT_BINARY_DIR@/${SECRET_FILE}")
39 40
 endif()
40 41
 

Loading…
Cancel
Save