Explorar o código

Added debug output to package manager.

Christopher Baines %!s(int64=15) %!d(string=hai) anos
pai
achega
ea974eaa32
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      apt-pkg/packagemanager.cc

+ 3 - 0
apt-pkg/packagemanager.cc

@@ -346,6 +346,9 @@ bool pkgPackageManager::SmartConfigure(PkgIterator Pkg)
    configured*/
 bool pkgPackageManager::VerifyConfigure(PkgIterator Pkg, pkgOrderList &OList)
 {
+   if (Debug == true)
+      clog << "VerifyConfigure " << Pkg.Name() << endl;
+
    // If this is true at the end, then the package should not be configured
    bool error=true;
    // This holds the the OR status of the previous dependancy