Explorar el Código

more debug output in SmartConfigure

Michael Vogt hace 16 años
padre
commit
0eacf067bb
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      apt-pkg/packagemanager.cc

+ 6 - 0
apt-pkg/packagemanager.cc

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