summaryrefslogtreecommitdiff
path: root/apt-pkg/edsp.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-05-03 19:59:45 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-05-03 19:59:45 +0200
commitbda94cb8432b3905f5757e92573fd16e73cb183f (patch)
tree7cebae0ae3ca718d809e09c67a7ec7c99889b505 /apt-pkg/edsp.cc
parent7f4713547665e12e032501228a98586e5add48f7 (diff)
fix arguments for MarkInstall so packages are really marked as automatic
Diffstat (limited to 'apt-pkg/edsp.cc')
-rw-r--r--apt-pkg/edsp.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/apt-pkg/edsp.cc b/apt-pkg/edsp.cc
index ce9ad250c..5b59373bd 100644
--- a/apt-pkg/edsp.cc
+++ b/apt-pkg/edsp.cc
@@ -273,7 +273,7 @@ bool EDSP::ReadResponse(int const input, pkgDepCache &Cache) {
pkgCache::VerIterator Ver(Cache.GetCache(), Cache.GetCache().VerP + VerIdx[id]);
Cache.SetCandidateVersion(Ver);
if (type == "Install")
- Cache.MarkInstall(Ver.ParentPkg(), false, false);
+ Cache.MarkInstall(Ver.ParentPkg(), false, 0, false);
else if (type == "Remove")
Cache.MarkDelete(Ver.ParentPkg(), false);
else if (type == "Autoremove") {
@@ -450,10 +450,10 @@ bool EDSP::WriteSolution(pkgDepCache &Cache, FILE* output)
/*}}}*/
// EDSP::WriteProgess - pulse to the given file descriptor /*{{{*/
bool EDSP::WriteProgress(unsigned short const percent, const char* const message, FILE* output) {
- fprintf(output, "Progress: %s\n", TimeRFC1123(time(NULL)).c_str());
- fprintf(output, "Percentage: %d\n", percent);
- fprintf(output, "Message: %s\n\n", message);
- fflush(output);
+// fprintf(output, "Progress: %s\n", TimeRFC1123(time(NULL)).c_str());
+// fprintf(output, "Percentage: %d\n", percent);
+// fprintf(output, "Message: %s\n\n", message);
+// fflush(output);
return true;
}
/*}}}*/