summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-10-15 17:30:57 -1000
committerSam Bingner <sam@bingner.com>2019-05-27 14:27:40 -1000
commit6459b8caea2bc2365381d334d4a061495c0c8cd2 (patch)
tree890976d97aaf4fa684a8cc8bd415ee30722eb387
parent59aa7ad8769041d89f7c635e887224d40503fa2b (diff)
I don't care about stash in iOS11
-rw-r--r--postinst.mm8
1 files changed, 5 insertions, 3 deletions
diff --git a/postinst.mm b/postinst.mm
index a12e580..2282daa 100644
--- a/postinst.mm
+++ b/postinst.mm
@@ -224,7 +224,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()) {
@@ -287,9 +287,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");