summaryrefslogtreecommitdiff
path: root/Sources.mm
diff options
context:
space:
mode:
Diffstat (limited to 'Sources.mm')
-rw-r--r--Sources.mm6
1 files changed, 4 insertions, 2 deletions
diff --git a/Sources.mm b/Sources.mm
index d3bf841..2a64210 100644
--- a/Sources.mm
+++ b/Sources.mm
@@ -59,7 +59,8 @@ void CydiaWriteSources() {
continue;
// Don't add Electra sources
- if ([[source objectForKey:@"URI"] rangeOfString:@"electra" options:NSCaseInsensitiveSearch].location != NSNotFound)
+ if ([[source objectForKey:@"URI"] rangeOfString:@"electra" options:NSCaseInsensitiveSearch].location != NSNotFound ||
+ [[source objectForKey:@"URI"] rangeOfString:@"chimera" options:NSCaseInsensitiveSearch].location != NSNotFound)
continue;
NSArray *sections([source objectForKey:@"Sections"] ?: [NSArray array]);
@@ -82,7 +83,8 @@ void CydiaAddSource(NSDictionary *source) {
return;
// Don't add Electra sources
- if ([[source objectForKey:@"URI"] rangeOfString:@"electra" options:NSCaseInsensitiveSearch].location != NSNotFound)
+ if ([[source objectForKey:@"URI"] rangeOfString:@"electra" options:NSCaseInsensitiveSearch].location != NSNotFound ||
+ [[source objectForKey:@"URI"] rangeOfString:@"chimera" options:NSCaseInsensitiveSearch].location != NSNotFound)
return;
[Sources_ setObject:source forKey:[NSString stringWithFormat:@"%@:%@:%@", [source objectForKey:@"Type"], [source objectForKey:@"URI"], [source objectForKey:@"Distribution"]]];