]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgsystem.cc
rred: If there were I/O errors, fail
[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() {}