diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2016-12-29 21:52:02 -0800 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-08-17 12:41:40 -1000 |
commit | 4ebfd3145b3b6e9b12c9aef46ea1b11bfee8bfb1 (patch) | |
tree | a86140542973fcb55a140bd3451ccdbd1313f97e /apt-pkg/aptconfiguration.cc | |
parent | 1265520d34363e67008750c4f351bedf4855ad51 (diff) |
Of *course* I managed to get this check backwards.
Diffstat (limited to 'apt-pkg/aptconfiguration.cc')
-rw-r--r-- | apt-pkg/aptconfiguration.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/aptconfiguration.cc b/apt-pkg/aptconfiguration.cc index 6a82df41d..d4e90bba1 100644 --- a/apt-pkg/aptconfiguration.cc +++ b/apt-pkg/aptconfiguration.cc @@ -200,7 +200,7 @@ std::vector<std::string> const Configuration::getLanguages(bool const &All, // FIXME: Remove support for the old APT::Acquire::Translation // it was undocumented and so it should be not very widthly used string const oldAcquire = _config->Find("APT::Acquire::Translation",""); - if (oldAcquire.empty() == false && oldAcquire != "environment" && _config->Exists("Acquire::Languages")) { + if (oldAcquire.empty() == false && oldAcquire != "environment" && !_config->Exists("Acquire::Languages")) { // TRANSLATORS: the two %s are APT configuration options _error->Notice("Option '%s' is deprecated. Please use '%s' instead, see 'man 5 apt.conf' for details.", "APT::Acquire::Translation", "Acquire::Languages"); |