summaryrefslogtreecommitdiff
path: root/core/pacman/backport-mime-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'core/pacman/backport-mime-fix.patch')
-rw-r--r--core/pacman/backport-mime-fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/pacman/backport-mime-fix.patch b/core/pacman/backport-mime-fix.patch
new file mode 100644
index 00000000..2812757c
--- /dev/null
+++ b/core/pacman/backport-mime-fix.patch
@@ -0,0 +1,13 @@
+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;;