diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-17 22:31:42 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-17 22:35:28 -0800 |
commit | 1916f3160661d6fa56be536d701925e1731b529b (patch) | |
tree | 685da3600bd5f6746285e8ab73ee81b24c6e41b0 | |
parent | 6ceb095922d35b1a0c65ccd34e5c03f1704c1b28 (diff) |
Consider removal of special packages a reportable error.
-rw-r--r-- | MobileCydia.mm | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 5d7cafa..b53372b 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]; |