From: Jay Freeman (saurik) Date: Fri, 30 Dec 2016 05:52:02 +0000 (-0800) Subject: Of *course* I managed to get this check backwards. X-Git-Tag: cydia_1.1.28%b3^0 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/9fe917c7ea24a626c97fcd9cda39743440a4cbfc Of *course* I managed to get this check backwards. --- 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 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");