diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2014-11-05 05:09:38 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2014-11-05 05:09:38 -0800 |
commit | 3a686b9fa3139eb401ef9287d5dcee6997b31a08 (patch) | |
tree | e4061b329b645765972d61072ac34f8e23e9cf67 /postinst.mm | |
parent | 483881e4cf3df51df8c97d94857c611ef2510aa4 (diff) |
We do not actually need to setnsfpn on /var/cache.v1.1.16
Diffstat (limited to 'postinst.mm')
-rw-r--r-- | postinst.mm | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/postinst.mm b/postinst.mm index b380d64..11d70dc 100644 --- a/postinst.mm +++ b/postinst.mm @@ -71,12 +71,11 @@ static bool MoveStash() { } static bool FixProtections() { - for (const char *path : (const char *[]) {"/var/lib", "/var/cache"}) { - mkdir(path, 0755); - if (!setnsfpn(path)) { - fprintf(stderr, "failed to setnsfpn %s\n", path); - return false; - } + const char *path("/var/lib"); + mkdir(path, 0755); + if (!setnsfpn(path)) { + fprintf(stderr, "failed to setnsfpn %s\n", path); + return false; } return true; |