more debug output in SmartConfigure
authorMichael Vogt <michael.vogt@ubuntu.com>
Wed, 21 Oct 2009 11:45:43 +0000 (13:45 +0200)
committerMichael Vogt <michael.vogt@ubuntu.com>
Wed, 21 Oct 2009 11:45:43 +0000 (13:45 +0200)
apt-pkg/packagemanager.cc

index a063e1a..019a1db 100644 (file)
@@ -287,6 +287,9 @@ bool pkgPackageManager::ConfigureAll()
    of it's dependents. */
 bool pkgPackageManager::SmartConfigure(PkgIterator Pkg)
 {
+   if (Debug == true)
+      clog << "SmartConfigure " << Pkg.Name() << endl;
+
    pkgOrderList OList(&Cache);
 
    if (DepAdd(OList,Pkg) == false)
@@ -300,6 +303,9 @@ bool pkgPackageManager::SmartConfigure(PkgIterator Pkg)
    {
       PkgIterator Pkg(Cache,*I);
       
+      if (Debug == true)
+        clog << "  SmartConfigure on" << Pkg.Name() << endl;
+
       if (Configure(Pkg) == false)
         return false;