diff options
| author | 2008-06-28 19:03:59 +0200 | |
|---|---|---|
| committer | 2008-06-28 19:03:59 +0200 | |
| commit | a3108499a6ba9fd5ee1449e35f7ad156e39fc938 (patch) | |
| tree | 13a84c7544fee6a0d9d9438f0b7b77d7f19ed9be /mini-dinstall | |
| parent | 7b52619636247991ec6363e3a389c44983d59cfc (diff) | |
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.
Diffstat (limited to 'mini-dinstall')
| -rwxr-xr-x | mini-dinstall | 4 |
1 files changed, 2 insertions, 2 deletions
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: |
