Don't rename zm.conf.new back to zm.conf

This commit is contained in:
Isaac Connor 2017-05-18 10:28:11 -04:00
parent 273a527356
commit f84d363e1a
1 changed files with 0 additions and 1 deletions

View File

@ -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")