]> git.saurik.com Git - apt.git/commit
always download changelogs into /tmp first
authorDavid Kalnischkies <david@kalnischkies.de>
Thu, 11 Feb 2016 21:54:49 +0000 (22:54 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Thu, 11 Feb 2016 22:13:47 +0000 (23:13 +0100)
commit6fd4b4c0b693b52cb8b593b76e5b60f77e500454
treec5513fb604ff2da8826109b1ba0f74014ff94ac3
parentb5aba9096e371a5f8612aff05384aca54ccc5acd
always download changelogs into /tmp first

pkgAcqChangelog has the default behaviour of downloading a changelog to
a temporary directory (inside /tmp, not /tmp directly), which is cleaned
up on shutdown, but this can be overridden to store the changelog more
permanently – but that caries a permission problem.

For changelog we can 'easily' solve this by always downloading to a
temporary directory and only move it out of there on done.
apt-pkg/acquire-item.cc
apt-pkg/acquire-item.h
apt-pkg/acquire.cc
test/integration/test-apt-get-changelog