From: Joerg Jaspert Date: Fri, 27 Feb 2009 21:53:38 +0000 (+0100) Subject: release files X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=87794f2776838a0f439335d2d3ec9eccfe9bc940;p=dak.git release files also list the Contents files. Signed-off-by: Joerg Jaspert --- 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":