# HG changeset patch # User Brett Smith # Date 1215986087 14400 # Node ID a4fff3df2242bc486a1955bf8e4699114a658cfc # Parent c4cfaf634bb9a9ec080636169e462d2c18c03f79 Don't assume .exe files are Cabinet archives just by extension. .exe files are as likely as not to be archives, so I'd rather not bug the user for recursive extraction every time they're in an archive. So we'll detect these sorts of archives by their magic only, which prevents them from triggering recursive extraction attempts. diff -r c4cfaf634bb9 -r a4fff3df2242 scripts/dtrx --- a/scripts/dtrx Sun Jul 13 17:47:57 2008 -0400 +++ b/scripts/dtrx Sun Jul 13 17:54:47 2008 -0400 @@ -797,7 +797,7 @@ ('compress', 'bzip2', 'bz2'), ('compress', 'lzma', 'lzma'), ('7z', None, '7z'), - ('cab', None, 'cab', 'exe'), + ('cab', None, 'cab'), ('shield', None, 'cab', 'hdr')): for extension in mapping[2:]: extension_map.setdefault(extension, []).append(mapping[:2])