filetype detection fix
This commit is contained in:
parent
0deb0b449c
commit
6afb99d1ce
2
sx-open
2
sx-open
|
@ -23,7 +23,7 @@ handle_uri() {
|
||||||
}
|
}
|
||||||
|
|
||||||
handle_mime() {
|
handle_mime() {
|
||||||
target_mimetype=$(file -ib "$target")
|
IFS=';' read target_mimetype charset <<< $( file -ib "$target" )
|
||||||
|
|
||||||
for m in "${mime_handlers[@]}"; do
|
for m in "${mime_handlers[@]}"; do
|
||||||
IFS='=' read cmd regex <<< "$m"
|
IFS='=' read cmd regex <<< "$m"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user