From b7fd3112758e847ac708d7c10ef025eaad19687a Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sat, 19 Dec 2015 10:56:41 +0100 Subject: [PATCH] debug packages now also have "Auto-Built-Package: debug-symbols" --- daklib/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daklib/utils.py b/daklib/utils.py index 518d66e9..00699ec4 100644 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -1338,4 +1338,5 @@ def is_in_debug_section(control): @return: True if the binary package is a debug package """ section = control['Section'].split('/', 1)[-1] - return section == "debug" + auto_built_package = control.get("Auto-Built-Package") + return section == "debug" and auto_built_package == "debug-symbols" -- 2.39.2