From 4a2dc82e902c02b46f19e2a7f926c858fc916a08 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 23 Feb 2011 08:52:43 -0800 Subject: Do not claim dpkg-exec is a package (stupid APT). --- MobileCydia.mm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MobileCydia.mm b/MobileCydia.mm index 23607ac..c11f6c5 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -3342,7 +3342,10 @@ static NSString *Warning_; [progress_ performSelectorOnMainThread:@selector(addProgressEvent) withObject:event waitUntilDone:YES]; } else if (pmstatus_r(data, size)) { std::string type([pmstatus_r[1] UTF8String]); + NSString *package = pmstatus_r[2]; + if ([package isEqualToString:@"dpkg-exec"]) + package = nil; float percent([pmstatus_r[3] floatValue]); [progress_ performSelectorOnMainThread:@selector(setProgressPercent:) withObject:[NSNumber numberWithFloat:(percent / 100)] waitUntilDone:YES]; -- cgit v1.2.3