소스 검색

Of *course* I managed to get this check backwards.

Jay Freeman (saurik) 9 년 전
부모
커밋
9fe917c7ea
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      apt-pkg/aptconfiguration.cc

+ 1 - 1
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");