diff options
Diffstat (limited to 'Sources.mm')
-rw-r--r-- | Sources.mm | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -44,18 +44,13 @@ #include <cstdio> extern _H<NSMutableDictionary> Sources_; -extern _H<NSString> System_; extern bool Changed_; void CydiaWriteSources() { FILE *file(fopen("/etc/apt/sources.list.d/cydia.list", "w")); _assert(file != NULL); - NSString *distribution(@"ios"); - if (System_ != nil) - distribution = [distribution stringByAppendingString:[NSString stringWithFormat:@"/%@", (id) System_]]; - - fprintf(file, "deb http://apt.saurik.com/ %s main\n", [distribution UTF8String]); + fprintf(file, "deb http://apt.saurik.com/ ios/%.2f main\n", kCFCoreFoundationVersionNumber); for (NSString *key in [Sources_ allKeys]) { NSDictionary *source([Sources_ objectForKey:key]); |