I have no ide how that piece of code got mangled
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
d706122511
commit
27801d670f
3
sx-open
3
sx-open
|
@ -120,7 +120,8 @@ handle_target() {
|
||||||
IFS=';' read target_mimetype _ <<< $( file -ib "$target" )
|
IFS=';' read target_mimetype _ <<< $( file -ib "$target" )
|
||||||
target_left=$target_mimetype
|
target_left=$target_mimetype
|
||||||
|
|
||||||
IFS=';' read target_mimetype_true _ <<< $( file -ib "$target" )
|
[[ $target_mimetype == 'inode/symlink' ]] && \
|
||||||
|
IFS=';' read target_mimetype_true _ <<< $( file -ibL "$target" )
|
||||||
|
|
||||||
set -- "${mime_handlers[@]}"
|
set -- "${mime_handlers[@]}"
|
||||||
elif is_uri "$target"; then
|
elif is_uri "$target"; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user