]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgsystem.cc
silently skip acquire of empty index files
[apt.git] / apt-pkg / pkgsystem.cc
index 2a0fc9d3b78ce842f913ca561e01576f3fa0f1bb..53015022150f51f89231e7a0607607501944d6a0 100644 (file)
@@ -55,5 +55,13 @@ bool pkgSystem::MultiArchSupported() const                           /*{{{*/
    return true;
 }
                                                                        /*}}}*/
+std::vector<std::string> pkgSystem::ArchitecturesSupported() const     /*{{{*/
+{
+   debSystem const * const deb = dynamic_cast<debSystem const *>(this);
+   if (deb != NULL)
+      return deb->SupportedArchitectures();
+   return {};
+}
+                                                                       /*}}}*/
 
 pkgSystem::~pkgSystem() {}