]> err.no Git - dak/commitdiff
release files
authorJoerg Jaspert <joerg@debian.org>
Fri, 27 Feb 2009 21:53:38 +0000 (22:53 +0100)
committerJoerg Jaspert <joerg@debian.org>
Fri, 27 Feb 2009 21:53:38 +0000 (22:53 +0100)
also list the Contents files.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/generate_releases.py

index 95b32c17d7a42b8cb52494f5b381dd33b9a21c78..983c8573f17aacde6f3a8721fb38028db3206f2a 100755 (executable)
@@ -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":