]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-internal-solver.cc
use *.docs files instead of hardcoding in debian/rules
[apt.git] / cmdline / apt-internal-solver.cc
index fa54657c0e0721c02b7a3b6a8b6ca688f53640c6..12f4d6f938198e36927946129e3549357c7cb597 100644 (file)
@@ -88,7 +88,12 @@ int main(int argc,const char *argv[])                                        /*{{{*/
                if (pkgset.empty() == true)
                        EDSP::WriteScenario(CacheFile, output);
                else
-                       EDSP::WriteLimitedScenario(CacheFile, output, pkgset);
+               {
+                       std::vector<bool> pkgvec(CacheFile->Head().PackageCount, false);
+                       for (auto const &p: pkgset)
+                          pkgvec[p->ID] = true;
+                       EDSP::WriteLimitedScenario(CacheFile, output, pkgvec);
+               }
                output.Close();
                _error->DumpErrors(std::cerr);
                return 0;