]> git.saurik.com Git - apt.git/commit
non-existing directories don't need to be cleaned
authorDavid Kalnischkies <david@kalnischkies.de>
Mon, 14 Dec 2015 02:21:20 +0000 (03:21 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Mon, 14 Dec 2015 02:21:20 +0000 (03:21 +0100)
commitdffc17ba835b6bf782fe553d338b6a921c6de7bf
treeac162b8d0b85f98d1ca0537171bc157064d4df72
parent27e4c1664a93bdce20de62a984e51d56671690ce
non-existing directories don't need to be cleaned

Trying to clean up directories which do not exist seems rather silly if
you think about it, so let apt think about it and stop it.

Depends a bit on the caller if this is fixing anything for them as they
might try to acquire a lock or doing other clever things as apt does.

Closes: 807477
apt-pkg/clean.cc
apt-private/private-download.cc
test/integration/framework
test/integration/test-apt-get-clean