Don't rename zm.conf.new back to zm.conf
This commit is contained in:
parent
273a527356
commit
f84d363e1a
|
@ -845,7 +845,6 @@ else (NOT EXISTS "${ZM_CONFIG_DIR}/zm.conf")
|
|||
message(STATUS "Found zm.conf at ${CMAKE_CURRENT_BINARY_DIR}/zm.conf. Not overwriting. Installing zm.conf.new instead.")
|
||||
file(RENAME "${CMAKE_CURRENT_BINARY_DIR}/zm.conf" "${CMAKE_CURRENT_BINARY_DIR}/zm.conf.new")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/zm.conf.new" DESTINATION "${ZM_CONFIG_DIR}")
|
||||
file(RENAME "${CMAKE_CURRENT_BINARY_DIR}/zm.conf.new" "${CMAKE_CURRENT_BINARY_DIR}/zm.conf")
|
||||
endif(NOT EXISTS "${ZM_CONFIG_DIR}/zm.conf")
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue