summaryrefslogtreecommitdiff
path: root/test/libapt/uri_test.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-01-06 00:08:04 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2016-01-08 15:40:01 +0100
commit1866240123a57de8f693b0ba01d8b709f027282d (patch)
tree58e4452460b40cb7746941fd3597bbfeb37dba41 /test/libapt/uri_test.cc
parent9bd2313a5c7523501bcec398877489c5a1fc1415 (diff)
ensure compression cleanup even without lists-cleanup
If we store files compressed in lists/ and the file switched compression formats we happened to retain the "old" format, but by default the cleanup process catched this oversight and removed the file. [The initial situation described doesn't arise as we store no files by default compressed and even with apt-file configuring Contents files, we don't really have that problem as there is just .gz files for those.] We solve this by just removing any uncompressed as well as compressed (we support) file just before we move the 'new' version of the file in.
Diffstat (limited to 'test/libapt/uri_test.cc')
0 files changed, 0 insertions, 0 deletions