diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2008-02-16 20:22:20 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2008-02-16 20:22:20 -0200 |
commit | a1704ec47a2f82516586351bf801617ed7e821a6 (patch) | |
tree | 7fa77c3081befea9c0cff4964e30e84352174860 /apt-pkg | |
parent | a86f61586537ae461fcfa0c3be6687c058ab88bc (diff) |
* Fix regression about APT::Get::List-Cleanup setting being ignored,
closes: #466052.
Diffstat (limited to 'apt-pkg')
-rw-r--r-- | apt-pkg/algorithms.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/algorithms.cc b/apt-pkg/algorithms.cc index 6e2b97557..57b85e24f 100644 --- a/apt-pkg/algorithms.cc +++ b/apt-pkg/algorithms.cc @@ -1356,7 +1356,7 @@ bool ListUpdate(pkgAcquireStatus &Stat, // Keep "APT::Get::List-Cleanup" name for compatibility, but // this is really a global option for the APT library now if (!TransientNetworkFailure && !Failed && - (_config->FindB("APT::Get::List-Cleanup",true) == true || + (_config->FindB("APT::Get::List-Cleanup",true) == true && _config->FindB("APT::List-Cleanup",true) == true)) { if (Fetcher.Clean(_config->FindDir("Dir::State::lists")) == false || |