summaryrefslogtreecommitdiff
path: root/Sources.mm
diff options
context:
space:
mode:
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);