Do not install biboumi.cfg in /etc/biboumi/ Because it would overwrite the user file when installing a new version. And it’s basically useless anyway, because if the file doesn’t exist at all, biboumi will write an helpful message on stderr, telling the user to create the config file.
1 files changed, 0 insertions(+), 1 deletions(-) M CMakeLists.txt
M CMakeLists.txt => CMakeLists.txt +0 -1
@@ 342,7 342,6 @@ add_custom_target(everything DEPENDS test_suite biboumi) install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION bin) install(FILES ${MAN_PAGE} DESTINATION share/man/man1 OPTIONAL COMPONENT documentation) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/biboumi.service DESTINATION lib/systemd/system COMPONENT init) install(FILES conf/biboumi.cfg DESTINATION /etc/biboumi COMPONENT configuration) file(GLOB policy_files conf/*policy.txt) install(FILES ${policy_files} DESTINATION /etc/biboumi COMPONENT configuration)