diff options
author | Sam Bingner <sam@bingner.com> | 2018-10-15 17:30:57 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2018-10-15 17:30:57 -1000 |
commit | 7fa5a0b401e22571e7de3713765a10640a36902d (patch) | |
tree | 6b403106c062f05c7f9a46373e1aa9d1361c8e3f /postinst.mm | |
parent | 89afe2061e0fc081bdacc8cb298a460b8a612ecb (diff) |
I don't care about stash in iOS11v1.1.32%b5
Diffstat (limited to 'postinst.mm')
-rw-r--r-- | postinst.mm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/postinst.mm b/postinst.mm index 8ce11de..92a659c 100644 --- a/postinst.mm +++ b/postinst.mm @@ -226,7 +226,7 @@ int main(int argc, const char *argv[]) { bool restart(false); - if (kCFCoreFoundationVersionNumber >= 1000) { + if (kCFCoreFoundationVersionNumber >= 1000 && kCFCoreFoundationVersionNumber < 1349.56) { if (!FixProtections()) return 1; switch (MoveStash()) { @@ -289,9 +289,11 @@ int main(int argc, const char *argv[]) { chown(NewLibrary_ Cytore_, 501, 501); } - FixPermissions(); + if (kCFCoreFoundationVersionNumber < 1349.56) { + FixPermissions(); - restart |= FixApplications(); + restart |= FixApplications(); + } if (restart) Finish("restart"); |