]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-extracttemplates.cc
after this consider providing packages (if it is not a versioned dep)
[apt.git] / cmdline / apt-extracttemplates.cc
index 21ef1a0508d043b19af7d3fc5642922c11fe4070..07bc0c25d053d6a17453d67e3d84d87078211bf5 100644 (file)
@@ -296,8 +296,7 @@ bool Go(CommandLine &CmdL)
        MMap *Map = 0;
        pkgSourceList List;
        List.ReadMainList();
        MMap *Map = 0;
        pkgSourceList List;
        List.ReadMainList();
-       OpProgress Prog;
-       pkgMakeStatusCache(List,Prog,&Map,true);
+       pkgCacheGenerator::MakeStatusCache(List,NULL,&Map,true);
        if (Map == 0)
           return false;
        DebFile::Cache = new pkgCache(Map);
        if (Map == 0)
           return false;
        DebFile::Cache = new pkgCache(Map);