| Date: | 2009-07-15 14:18:09 (2 years 6 months ago) |
|---|---|
| Author: | Luciano M. F. Rocha |
| Commit: | d4d937da5858f9768eacd150503803db75711dc4 |
| Message: | ignore mime-type options when checking file type for extraction |
| Files: |
rc/bash_functions (1 diff) |
Change Details
| rc/bash_functions | ||
|---|---|---|
| 135 | 135 | fi |
| 136 | 136 | |
| 137 | 137 | t=$(file -i "$abs") |
| 138 | # remove ; charset=.. | |
| 139 | t="${t%%;*}" | |
| 138 | 140 | |
| 139 | 141 | if [ -z "$t" ] || [ "$t" = "application/octet-stream" ]; then |
| 140 | 142 | t="${arg##*.}" |
