xolox/python-deb-pkg-tools

Add a flag that allows things in /etc/ directory to NOT be treated as conffiles

bill-freeman opened this issue · 1 comments

currently everything in /etc/ directory gets treated as conffiles. There are siuations where you dont want this to happen. You should update the function "update_conffiles(directory) in the package.py to accept a boolean that defines if /etc/ is treated as conffiles or not. You should also make it default to yes for legacy support.

xolox commented

Hi and thanks for the feedback. I've just released deb-pkg-tools 7.0 which adds support for build_package(update_conffiles=False) as documented here.