Don't overwrite conf files on install

This commit is contained in:
David Adrian
2013-10-12 13:44:33 -04:00
parent bc28a5a576
commit f6609beb2c
3 changed files with 11 additions and 6 deletions
+6
View File
@@ -0,0 +1,6 @@
foreach(conf_file ${CONF_FILES})
message(STATUS "${conf_file}")
if(NOT EXISTS "/etc/zmap/${conf_file}")
file(INSTALL "conf/${conf_file}" DESTINATION "/etc/zmap")
endif()
endforeach()