diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2016-12-29 21:52:02 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2016-12-29 21:52:02 -0800 |
commit | 9fe917c7ea24a626c97fcd9cda39743440a4cbfc (patch) | |
tree | 4b32062b775a16f49c4e4c2a03727941c6847d91 | |
parent | 22c5f99a6119eeef30e1ddee3262bc942d055455 (diff) |
Of *course* I managed to get this check backwards.
-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 48fedb237..86c9c6af1 100644 --- a/apt-pkg/aptconfiguration.cc +++ b/apt-pkg/aptconfiguration.cc @@ -198,7 +198,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"); |