diff options
author | Erich Eckner <git@eckner.net> | 2019-05-28 06:07:03 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-05-28 06:07:03 +0200 |
commit | 79cb4205dc78a8390f1d8175014e59dc7b4aab49 (patch) | |
tree | 7b33e2fcfb0b820c11319fa73a5eec3c6f88e51e /core/pacman/backport-mime-fix.patch | |
parent | c961a1c92a58de074525f3e6750fb77960e23d2c (diff) | |
download | packages-79cb4205dc78a8390f1d8175014e59dc7b4aab49.tar.xz |
core/pacman: backport the mime fix
Diffstat (limited to 'core/pacman/backport-mime-fix.patch')
-rw-r--r-- | core/pacman/backport-mime-fix.patch | 13 |
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;; |