Sfoglia il codice sorgente

Added debug output to package manager.

Christopher Baines 15 anni fa
parent
commit
ea974eaa32
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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