From 87794f2776838a0f439335d2d3ec9eccfe9bc940 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Fri, 27 Feb 2009 22:53:38 +0100 Subject: [PATCH] release files also list the Contents files. Signed-off-by: Joerg Jaspert --- dak/generate_releases.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dak/generate_releases.py b/dak/generate_releases.py index 95b32c17..983c8573 100755 --- a/dak/generate_releases.py +++ b/dak/generate_releases.py @@ -237,6 +237,13 @@ def main (): files = [] if AptCnf.has_key("tree::%s" % (tree)): + if AptCnf.has_key("tree::%s::Contents" % (tree)): + pass + else: + for x in os.listdir("%s/%s" % (Cnf["Dir::Root"], tree)): + if x.startswith('Contents-'): + files.append(x) + for sec in AptCnf["tree::%s::Sections" % (tree)].split(): for arch in AptCnf["tree::%s::Architectures" % (tree)].split(): if arch == "source": -- 2.39.5