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 <joerg@debian.org>
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():