pick up Translation-* even if only compressed available
authorDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 25 Jul 2013 16:51:16 +0000 (18:51 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 25 Jul 2013 20:29:21 +0000 (22:29 +0200)
commita5b9f4890fc2b367b8f89d10ea2bdb88b8aa071a
tree49ba20da436871ef8041661e216d4e841cbba246
parent462cfb71b8ebfa4da6b5681cee96931c927ae232
pick up Translation-* even if only compressed available

On CD-ROMs Translation-* files are only in compressed form included in
the Release file. This used to work while we had no record of
Translation-* files in the Release file at all as APT would have just
guessed the (compressed) filename and accepted it (unchecked), but now
that it checks for the presents of entries and if it finds records it
expects the uncompressed to be verifiable.

This commit relaxes this requirement again to fix the regression.
We are still secure "enough" as we can validate the compressed file we have
downloaded, so we don't loose anything by not requiring a hashsum for
the uncompressed files to double-check them.

Closes: 717665
apt-pkg/acquire-item.cc
test/integration/test-bug-624218-Translation-file-handling