Skip to content

Commit

Permalink
Fix bug in bh_findmime: missing PE files in Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
merces committed Oct 25, 2023
1 parent b3ac4e9 commit 0f0d0eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ Calculate common checksums for files

Find files by MIME type (ignores file extension):

$ cd /bin
$ bh_findmime -elf | head
$ bh_findmime -elf /bin | head
/bin/[
/bin/addpart
/bin/appres
Expand Down Expand Up @@ -123,7 +122,7 @@ There's much more. Install it and see for yourself. :)

## Changelog

### bashacks 1.5 - Somewhen in 2022
### bashacks 1.5 - 2023 maybe?

* New name: bashacks
* Bugs fixed.
Expand Down
2 changes: 1 addition & 1 deletion src/filesystem/bh_findmime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ bh_findmime() {

# executables
-pe)
opt='x\-dosexec' ;;
opt='(x\-dosexec|vnd\.microsoft\.portable\-executable)' ;;
-msi)
opt='vnd\.ms\-office' ;;
-macho)
Expand Down

0 comments on commit 0f0d0eb

Please sign in to comment.