summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2014-11-04 21:44:31 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2014-11-04 21:44:31 -0800
commitbcc5860752b0e5e5fb86a0bdb2981091a449e0bf (patch)
treecd9e643300c6abb86591b181a1dd28d2b6a0583f /MobileCydia.mm
parente4d9a4f2fdc098e3447d4a81bc4dbb2f9acd5e53 (diff)
Move /var/stash under /var/db/stash for setnsfpn.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm5
1 files changed, 5 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 49b74f6..e491c73 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -3157,6 +3157,7 @@ struct PackageNameOrdering :
bool user = false;
bool _private = false;
bool stash = false;
+ bool dbstash = false;
bool dsstore = false;
bool repository = [[self section] isEqualToString:@"Repositories"];
@@ -3171,6 +3172,8 @@ struct PackageNameOrdering :
_private = true;
else if (!stash && [file isEqualToString:@"/var/stash"])
stash = true;
+ else if (!dbstash && [file isEqualToString:@"/var/db/stash"])
+ dbstash = true;
else if (!dsstore && [file hasSuffix:@"/.DS_Store"])
dsstore = true;
@@ -3183,6 +3186,8 @@ struct PackageNameOrdering :
[warnings addObject:[NSString stringWithFormat:UCLocalize("FILES_INSTALLED_TO"), @"/private"]];
if (stash)
[warnings addObject:[NSString stringWithFormat:UCLocalize("FILES_INSTALLED_TO"), @"/var/stash"]];
+ if (dbstash)
+ [warnings addObject:[NSString stringWithFormat:UCLocalize("FILES_INSTALLED_TO"), @"/var/db/stash"]];
if (dsstore)
[warnings addObject:[NSString stringWithFormat:UCLocalize("FILES_INSTALLED_TO"), @".DS_Store"]];
}