From e967efd5e9745242298f8792cb7d47dca141bfbf Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 20 Mar 2011 16:02:29 -0700 Subject: Expose ramifications of kCFCoreFoundationVersionNumber. --- Sources.mm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'Sources.mm') diff --git a/Sources.mm b/Sources.mm index 6073622..15528b7 100644 --- a/Sources.mm +++ b/Sources.mm @@ -44,18 +44,13 @@ #include extern _H Sources_; -extern _H 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]); -- cgit v1.2.3