Преглед изворни кода

Added debug output to package manager.

Christopher Baines пре 15 година
родитељ
комит
ea974eaa32
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      apt-pkg/packagemanager.cc

+ 3 - 0
apt-pkg/packagemanager.cc

@@ -346,6 +346,9 @@ bool pkgPackageManager::SmartConfigure(PkgIterator Pkg)
    configured*/
    configured*/
 bool pkgPackageManager::VerifyConfigure(PkgIterator Pkg, pkgOrderList &OList)
 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
    // If this is true at the end, then the package should not be configured
    bool error=true;
    bool error=true;
    // This holds the the OR status of the previous dependancy  
    // This holds the the OR status of the previous dependancy