From 1916f3160661d6fa56be536d701925e1731b529b Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Thu, 17 Feb 2011 22:31:42 -0800 Subject: [PATCH] Consider removal of special packages a reportable error. --- MobileCydia.mm | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) 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]; -- 2.45.2