diff options
author | Sam Bingner <sam@bingner.com> | 2018-12-13 14:09:41 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-05-27 14:28:41 -1000 |
commit | 5c5e9cd29dca9b587831a4db2e9a9df6b198e726 (patch) | |
tree | fd575cc32cc415a07e878af4fa5d95da203d14af /postinst.mm | |
parent | 4608ec36eafbdde6130c754a20553ca8c2688cfe (diff) |
Fix postinst
Diffstat (limited to 'postinst.mm')
-rw-r--r-- | postinst.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/postinst.mm b/postinst.mm index f1a2158..8783032 100644 --- a/postinst.mm +++ b/postinst.mm @@ -260,14 +260,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" |