summaryrefslogtreecommitdiff
path: root/Sources.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2015-07-02 03:28:10 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2015-07-02 03:28:10 -0700
commitf6b68b2c49618bf8df27e993bc3df42e913180db (patch)
treec2fcefbac9ab3d7b1f763c1bee1a1c89713b338c /Sources.mm
parent7bc0d82556d4169b4b2221a0373ca2262abebcc8 (diff)
Use a private (owned by mobile!) APT sources.list.
Diffstat (limited to 'Sources.mm')
-rw-r--r--Sources.mm4
1 files changed, 3 insertions, 1 deletions
diff --git a/Sources.mm b/Sources.mm
index 8ad74a1..4cc2f9e 100644
--- a/Sources.mm
+++ b/Sources.mm
@@ -25,11 +25,13 @@
#include <cstdio>
+#include "Sources.h"
+
extern _H<NSMutableDictionary> Sources_;
extern bool Changed_;
void CydiaWriteSources() {
- FILE *file(fopen("/etc/apt/sources.list.d/cydia.list", "w"));
+ FILE *file(fopen(SOURCES_LIST, "w"));
_assert(file != NULL);
fprintf(file, "deb http://apt.saurik.com/ ios/%.2f main\n", kCFCoreFoundationVersionNumber);