From 34e476204f69e3cdd253ebe90f5122fbf6b3e60f Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Mon, 7 Sep 2009 08:18:31 +0200 Subject: [PATCH] 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 --- dak/generate_releases.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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(): -- 2.39.5