]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-item.cc
allow arch=all to override No-Support-for-Architecture-all
[apt.git] / apt-pkg / acquire-item.cc
index 71cb18811506a129e058d0d052a005d9b2cd1f44..208b84c64cb95ac4b198a212ef46596b810a7680 100644 (file)
@@ -1311,8 +1311,7 @@ void pkgAcqMetaClearSig::QueueIndexes(bool const verify)                  /*{{{*/
       // than invent an entirely new flag we would need to carry for all of eternity.
       if (hasReleaseFile && Target.Option(IndexTarget::ARCHITECTURE) == "all")
       {
-        if (TransactionManager->MetaIndexParser->IsArchitectureSupported("all") == false ||
-              TransactionManager->MetaIndexParser->IsArchitectureAllSupportedFor(Target) == false)
+        if (TransactionManager->MetaIndexParser->IsArchitectureAllSupportedFor(Target) == false)
         {
            new CleanupItem(Owner, TransactionManager, Target);
            continue;