summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/error.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-06-08 16:08:53 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2015-06-09 12:57:36 +0200
commit4cd86fc61960404ef7dd8a474c2dff2002016824 (patch)
treeffbcd201c558aac0281df913d1b8130215e18ded /apt-pkg/contrib/error.cc
parent8d041b4f4f353079268039dcbfd8b5e575196b66 (diff)
remove debianism file-content verification
The code requires every index file we download to have a Package field, but that doesn't hold true for all index we might want to download in the future. Some might not even be deb822 formatted files… The check was needed as apt used to accept unverifiable files like Translation-*, but nowadays it requires hashes for these as well. Even for unsigned repositories we interpret the Release file as binding now, which means this check isn't triggerable expect for repositories which do not have a Release file at all – something which is highly discouraged! Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/contrib/error.cc')
0 files changed, 0 insertions, 0 deletions