]> git.saurik.com Git - apt.git/commitdiff
Of *course* I managed to get this check backwards. cydia_1.1.28%b3
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 30 Dec 2016 05:52:02 +0000 (21:52 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Fri, 30 Dec 2016 05:52:02 +0000 (21:52 -0800)
apt-pkg/aptconfiguration.cc

index 48fedb237ef4fc67d0b6f657dcf1a4495e9563d4..86c9c6af1c490278fe8ebc745b2a3b4e5e234163 100644 (file)
@@ -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");