diff options
author | Sam Bingner <sam@bingner.com> | 2018-12-13 14:09:41 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2018-12-13 14:11:12 -1000 |
commit | 7e6eb4499eef2c528f119b2b35c2ce25d336d325 (patch) | |
tree | 6e06be5f3c4acd37758aad63391ffab95cc881c3 | |
parent | c253f157fd26e0f84527f84156334def5092b86c (diff) |
Fix postinstv1.1.32%b9
-rw-r--r-- | postinst.mm | 6 |
1 files 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" |