diff options
author | Sam Bingner <sam@bingner.com> | 2019-05-03 22:15:31 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-05-27 14:30:27 -1000 |
commit | 04f7858ab3a4ae343dee401efc7ecd777d422b1b (patch) | |
tree | 146a5d24f134b94dded9aa8a6acf2ad2b9fa9e58 /Sources.mm | |
parent | edd5de7676db30e248caa4d9d898f9de51acc720 (diff) |
Block another repo that is incompatible with elucubratus
Diffstat (limited to 'Sources.mm')
-rw-r--r-- | Sources.mm | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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"]]]; |