From a3108499a6ba9fd5ee1449e35f7ad156e39fc938 Mon Sep 17 00:00:00 2001 From: Christoph Goehre Date: Sat, 28 Jun 2008 19:03:59 +0200 Subject: check new Checksums-* fields in .dsc and .changes With dpkg 1.14.18 from April 2008 the .dsc and .changes-files has additional fields for SHA1 and SHA256. mini-dinstall will check this fields if exists. --- mini-dinstall | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mini-dinstall') diff --git a/mini-dinstall b/mini-dinstall index 258dde3..08f1ffc 100755 --- a/mini-dinstall +++ b/mini-dinstall @@ -812,7 +812,7 @@ class ArchiveDir: else: (newupstreamver, newdebianver) = parse_versions(version) is_sourceful = 0 - for file in map(lambda x: x[4], changefile.getFiles()): + for file in map(lambda x: x[2], changefile.getFiles()): match = debpackage_re.search(file) if match: arch = match.group(3) @@ -959,7 +959,7 @@ class ArchiveDir: else: traceback.print_exception(Exception, exception, None, None, f) f.close() - for file in map(lambda x: x[4], changefile.getFiles()): + for file in map(lambda x: x[2], changefile.getFiles()): if os.access(os.path.join(incomingdir, file), os.R_OK): file = os.path.join(incomingdir, file) else: -- cgit v1.2.3