Support application/gzip MIME type in extraction
file 5.37 changed the gzip MIME type from application/x-gzip to application/gzip, so support this when checking to extract source files. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
0bc687e2e0
commit
99c5809bbf
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ extract_file() {
|
|||
case "$file_type" in
|
||||
*application/x-tar*|*application/zip*|*application/x-zip*|*application/x-cpio*)
|
||||
cmd="bsdtar" ;;
|
||||
*application/x-gzip*)
|
||||
*application/x-gzip*|*application/gzip*)
|
||||
case "$ext" in
|
||||
gz|z|Z) cmd="gzip" ;;
|
||||
*) return;;
|
||||
|
|
Loading…
Add table
Reference in a new issue