]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
add debian package ask overwrite conf file
authorBastian Dehn <hhaalo@arcor.de>
Fri, 12 Apr 2024 13:58:20 +0000 (15:58 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Fri, 12 Apr 2024 13:58:20 +0000 (15:58 +0200)
src/CMakeLists.txt
src/conffiles [new file with mode: 0644]

index df5e7cd9be4591ba361d5fe15b6f588c099d1da1..1d51b84e487850e5b5cc462c5295e5a3eeb034d4 100644 (file)
@@ -72,5 +72,6 @@ SET(CPACK_DEBIAN_PACKAGE_PRIORITY "optional")
 SET(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
 SET(CPACK_DEBIAN_PACKAGE_SECTION "libs")
 SET(CPACK_DEBIAN_PACKAGE_DESCRIPTION "sane network backend for kodak alaris s2000w series")
+set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA ${CMAKE_CURRENT_SOURCE_DIR}/conffiles)
 
 INCLUDE(CPack)
\ No newline at end of file
diff --git a/src/conffiles b/src/conffiles
new file mode 100644 (file)
index 0000000..8043e05
--- /dev/null
@@ -0,0 +1 @@
+/etc/sane.d/kds_s2000w_net.conf