From: Jay Freeman (saurik) Date: Fri, 18 Feb 2011 06:31:42 +0000 (-0800) Subject: Consider removal of special packages a reportable error. X-Git-Tag: v1.1.0%b1~325 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/1916f3160661d6fa56be536d701925e1731b529b Consider removal of special packages a reportable error. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 5d7cafa8..b53372b7 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -4334,9 +4334,19 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { [downgrades addObject:name]; else if (!state.Delete()) continue; - else if (special_r(name)) { - // XXX: sad - } else { + else if (special_r(name)) + [issues_ addObject:[NSDictionary dictionaryWithObjectsAndKeys: + [NSNull null], @"package", + [NSArray arrayWithObjects: + [NSDictionary dictionaryWithObjectsAndKeys: + @"Conflicts", @"relation", + name, @"package", + [NSNull null], @"version", + @"installed", @"reason", + nil], + nil], @"reasons", + nil]]; + else { if ([package essential]) remove = true; [removes addObject:name];