]> git.saurik.com Git - cydia.git/blobdiff - Sources.mm
Use a private (owned by mobile!) APT sources.list.
[cydia.git] / Sources.mm
index 8ad74a15ed0a1ac190fc5afb140ecd387a516df7..4cc2f9e927d43db7ef8d867c5422e681a7e787ff 100644 (file)
 
 #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);