From: Joerg Jaspert Date: Mon, 7 Sep 2009 06:18:31 +0000 (+0200) Subject: generate_releases X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34e476204f69e3cdd253ebe90f5122fbf6b3e60f;p=dak generate_releases now also include the Contents-$arch.diff/Index files into the release file, so tools who use them to mirror Debian (brrrr) can also mirror those. Signed-off-by: Joerg Jaspert --- diff --git a/dak/generate_releases.py b/dak/generate_releases.py index 4a5c2abf..8bf3622d 100755 --- a/dak/generate_releases.py +++ b/dak/generate_releases.py @@ -285,7 +285,10 @@ def main (): else: for x in os.listdir("%s/%s" % (Cnf["Dir::Root"], tree)): if x.startswith('Contents-'): - files.append(x) + if x.endswith('.diff'): + files.append("%s/Index" % (x)) + else: + files.append(x) for sec in AptCnf["tree::%s::Sections" % (tree)].split(): for arch in AptCnf["tree::%s::Architectures" % (tree)].split():