summaryrefslogtreecommitdiff
path: root/Sources.mm
diff options
context:
space:
mode:
Diffstat (limited to 'Sources.mm')
-rw-r--r--Sources.mm7
1 files changed, 1 insertions, 6 deletions
diff --git a/Sources.mm b/Sources.mm
index 6073622..15528b7 100644
--- a/Sources.mm
+++ b/Sources.mm
@@ -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]);