]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-install.cc
generate commands array after config is loaded
[apt.git] / apt-private / private-install.cc
index dda5b50bec6bba31347e80c6d0002714ca3c9247..52572ed8029db8eaef28fc05e3f8e0167cc2c3c2 100644 (file)
@@ -134,8 +134,7 @@ bool InstallPackages(CacheFile &Cache,bool ShwKept,bool Ask, bool Safety)
       return false;
 
    // Create the download object
-   AcqTextStatus Stat(std::cout, ScreenWidth,_config->FindI("quiet",0));
-   pkgAcquire Fetcher(&Stat);
+   aptAcquireWithTextStatus Fetcher;
    if (_config->FindB("APT::Get::Print-URIs", false) == true)
    {
       // force a hashsum for compatibility reasons