summaryrefslogtreecommitdiff
path: root/Sources.h
diff options
context:
space:
mode:
Diffstat (limited to 'Sources.h')
-rw-r--r--Sources.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Sources.h b/Sources.h
index 2defaf6..c3de58a 100644
--- a/Sources.h
+++ b/Sources.h
@@ -28,6 +28,9 @@ void CydiaWriteSources();
void CydiaAddSource(NSDictionary *source);
void CydiaAddSource(NSString *href, NSString *distribution, NSArray *sections = nil);
-#define SOURCES_LIST "/var/mobile/Library/Caches/com.saurik.Cydia/sources.list"
+extern NSString *Cache_;
+NSString *Cache(const char *file);
+
+#define SOURCES_LIST Cache("sources.list")
#endif//Sources_H