|
|
|
|
43
|
ERROR_QUIET
|
43
|
ERROR_QUIET
|
44
|
OUTPUT_STRIP_TRAILING_WHITESPACE
|
44
|
OUTPUT_STRIP_TRAILING_WHITESPACE
|
45
|
)
|
45
|
)
|
46
|
-file(INSTALL FILES "@CMAKE_CURRENT_BINARY_DIR@/${SECRET_FILE}" DESTINATION "/etc" FILE_PERMISSIONS OWNER_READ OWNER_WRITE)
|
|
|
|
|
46
|
+file(INSTALL FILES "@CMAKE_CURRENT_BINARY_DIR@/${SECRET_FILE}" DESTINATION "/etc" RENAME "${SECRET_FILE}" FILE_PERMISSIONS OWNER_READ OWNER_WRITE)
|
47
|
file(REMOVE "@CMAKE_CURRENT_BINARY_DIR@/${SECRET_FILE}")
|
47
|
file(REMOVE "@CMAKE_CURRENT_BINARY_DIR@/${SECRET_FILE}")
|
48
|
endif()
|
48
|
endif()
|