]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgcache.cc
* doc/files.sgml:
[apt.git] / apt-pkg / pkgcache.cc
index ba3c5cbf8b54fa6f9418e6db692c90a6ba4ea1e3..a59a06d65411375cad6ceebeea33bc08290d2d9f 100644 (file)
@@ -221,7 +221,7 @@ pkgCache::PkgIterator pkgCache::FindPkg(const string &Name) {
 /* Returns 0 on error, pointer to the package otherwise */
 pkgCache::PkgIterator pkgCache::FindPkg(const string &Name, string const &Arch) {
        if (MultiArchCache() == false) {
-               if (Arch == "native" || Arch == "all" ||
+               if (Arch == "native" || Arch == "all" || Arch == "any" ||
                    Arch == _config->Find("APT::Architecture"))
                        return SingleArchFindPkg(Name);
                else