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") {
/*}}}*/
// 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;
}
/*}}}*/