From 7e6eb4499eef2c528f119b2b35c2ce25d336d325 Mon Sep 17 00:00:00 2001 From: Sam Bingner Date: Thu, 13 Dec 2018 14:09:41 -1000 Subject: Fix postinst --- postinst.mm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/postinst.mm b/postinst.mm index 909e993..7c5e133 100644 --- a/postinst.mm +++ b/postinst.mm @@ -262,14 +262,14 @@ int main(int argc, const char *argv[]) { #define CYDIA_LIST "/etc/apt/sources.list.d/cydia.list" unlink(CYDIA_LIST); if (kCFCoreFoundationVersionNumber >= 1443) { - [@( - "deb https://apt.bingner.com/ ./\n" + [[NSString stringWithFormat:@ + "deb https://apt.bingner.com/ ios/%.2f main\n" "deb http://apt.thebigboss.org/repofiles/cydia/ stable main\n" "deb http://cydia.zodttd.com/repo/cydia/ stable main\n" "deb http://apt.modmyi.com/ stable main\n" "deb https://repo.chariz.io/ ./\n" "deb https://repo.dynastic.co/ ./\n" - ) writeToFile:@ CYDIA_LIST atomically:YES]; + , kCFCoreFoundationVersionNumber] writeToFile:@ CYDIA_LIST atomically:YES]; } else { [[NSString stringWithFormat:@ "deb http://apt.saurik.com/ ios/%.2f main\n" -- cgit v1.2.3