Skip to content

Commit

Permalink
[Package] Use original dpkg directory
Browse files Browse the repository at this point in the history
  • Loading branch information
wstyres committed Jan 10, 2020
1 parent 03de9c6 commit 8a6cb80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Zebra/Tabs/Packages/Helpers/ZBPackage.m
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ + (NSArray *)filesInstalledBy:(NSString *)packageID {
return @[@"/.", @"/You", @"/You/Are", @"/You/Are/Simulated"];
}

NSString *path = [NSString stringWithFormat:@"/Library/dpkg/info/%@.list", packageID];
NSString *path = [NSString stringWithFormat:@"/var/lib/dpkg/info/%@.list", packageID];
if ([[NSFileManager defaultManager] fileExistsAtPath:path]) {
NSError *readError;
NSString *contents = [NSString stringWithContentsOfFile:path encoding:NSUTF8StringEncoding error:&readError];
Expand Down

0 comments on commit 8a6cb80

Please sign in to comment.