--- a/CMakeLists.txt 2022-03-31 21:13:41.000000000 +0200 +++ b/CMakeLists.txt 2022-06-27 20:21:37.477248465 +0200 @@ -152,28 +152,5 @@ install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION bin ) -install(FILES systemd/airsaned.service - DESTINATION /lib/systemd/system -) -install(FILES systemd/airsaned.default - DESTINATION /etc/default - RENAME airsane -) - -install(CODE " - if(NOT EXISTS /etc/airsane/ignore.conf) - file(INSTALL ${CMAKE_SOURCE_DIR}/etc/ignore.conf DESTINATION /etc/airsane) - endif() -") -install(CODE " - if(NOT EXISTS /etc/airsane/options.conf) - file(INSTALL ${CMAKE_SOURCE_DIR}/etc/options.conf DESTINATION /etc/airsane) - endif() -") -install(CODE " - if(NOT EXISTS /etc/airsane/Gnome-scanner.png) - file(INSTALL ${CMAKE_SOURCE_DIR}/etc/Gnome-scanner.png DESTINATION /etc/airsane) - endif() -") endif()