Bundle original Debian apt 2.6.1 test package with readable description
This commit is contained in:
1 parent
dc51a3a3c7
commit
718bf032c8
4 files changed
+22
-5
No files matched your search
@@ -2080,6 +2080,8 @@ static BOOL hook_isDEBAvailable(id self, SEL _cmd)
|
||||
static NSString *hook_dpkgInfo(id self, SEL _cmd, NSString *path)
|
||||
{
|
||||
NSString *info = WQDebInfoText(path);
|
||||
NSLog(@"[WQDeb] dpkgInfo %@ -> %lu bytes", path,
|
||||
(unsigned long)info.length);
|
||||
if (info.length) return info;
|
||||
if (orig_dpkgInfo)
|
||||
return ((NSString *(*)(id, SEL, NSString *))orig_dpkgInfo)(self, _cmd, path);
|
||||
|
||||
Reference in new issue
Block a user