]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/fileutl.cc
pass Target/MetaIndexParser around into pkgAcqDiffIndex so that this can be used...
[apt.git] / apt-pkg / contrib / fileutl.cc
index 69406a9bf11f30c348cce891e7ec494f9c971f56..188bb87eebbcec1410299e07ab251d88a3af49ff 100644 (file)
@@ -104,7 +104,11 @@ bool RunScripts(const char *Cnf)
       {
         if (Opts->Value.empty() == true)
            continue;
-        
+
+         if(_config->FindB("Debug::RunScripts", false) == true)
+            std::clog << "Running external script: '"
+                      << Opts->Value << "'" << std::endl;
+
         if (system(Opts->Value.c_str()) != 0)
            _exit(100+Count);
       }