summaryrefslogtreecommitdiff
path: root/Sources.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-20 03:59:02 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-20 03:59:02 -0700
commit8d7f5af91ae603ddfbddc0f926eed23cee2c1024 (patch)
treee78765a603a159b55c78c324b19abf42b773ae99 /Sources.mm
parent407564b5683493323368fbbb22850d67b47e4743 (diff)
Remove setCydiaSource().
Diffstat (limited to 'Sources.mm')
-rw-r--r--Sources.mm6
1 files changed, 1 insertions, 5 deletions
diff --git a/Sources.mm b/Sources.mm
index 79ae3d4..6073622 100644
--- a/Sources.mm
+++ b/Sources.mm
@@ -44,7 +44,6 @@
#include <cstdio>
extern _H<NSMutableDictionary> Sources_;
-extern _H<NSString> CydiaSource_;
extern _H<NSString> System_;
extern bool Changed_;
@@ -56,10 +55,7 @@ void CydiaWriteSources() {
if (System_ != nil)
distribution = [distribution stringByAppendingString:[NSString stringWithFormat:@"/%@", (id) System_]];
- fprintf(file, "deb http://%s/ %s main\n",
- [CydiaSource_ UTF8String],
- [distribution UTF8String]
- );
+ fprintf(file, "deb http://apt.saurik.com/ %s main\n", [distribution UTF8String]);
for (NSString *key in [Sources_ allKeys]) {
NSDictionary *source([Sources_ objectForKey:key]);