summaryrefslogtreecommitdiff
path: root/Sources.mm
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-05-03 22:15:31 -1000
committerSam Bingner <sam@bingner.com>2019-05-03 22:15:31 -1000
commit5b200555808e798a08210f5697ad7ba80c6fdc70 (patch)
tree58cee835ede30eea24506103971d1c770e167873 /Sources.mm
parent8eaae323e6dd16f363bab7306328f358951e09c0 (diff)
Block another repo that is incompatible with elucubratusv1.1.32%b14
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 cbf7b11..1fca2b5 100644
--- a/Sources.mm
+++ b/Sources.mm
@@ -52,7 +52,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]);
@@ -75,7 +76,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"]]];