Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKevin Mihelich <kevin@archlinuxarm.org>2019-05-20 21:21:27 -0400
committerAllan McRae <allan@archlinux.org>2019-05-28 10:48:42 +1000
commit99c5809bbf01725829ce67458565b46bce32eaa9 (patch)
treee4427acb83a8df39d3ea7b8b6efb8b88dc615106 /scripts
parent0bc687e2e01f4e6e3f2a2f7ac10c7e1fdbaf5ba2 (diff)
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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/libmakepkg/source/file.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/libmakepkg/source/file.sh.in b/scripts/libmakepkg/source/file.sh.in
index 08b8bef8..8492ba11 100644
--- a/scripts/libmakepkg/source/file.sh.in
+++ b/scripts/libmakepkg/source/file.sh.in
@@ -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;;