diff options
author | Dan McGee <dan@archlinux.org> | 2008-01-05 23:37:55 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-05 23:44:43 +0100 |
commit | 14e4366c781250092a5131b8fbbeda3aab67bd9d (patch) | |
tree | 482c5678881b6baff70436b5b22578bfb6ac938d /scripts | |
parent | 728b601f7b6df40b77bc5a4fc2dee5c1b1162fc4 (diff) | |
download | pacman-14e4366c781250092a5131b8fbbeda3aab67bd9d.tar.gz pacman-14e4366c781250092a5131b8fbbeda3aab67bd9d.tar.xz |
makepkg: add application/zip to the recognized types
The recent upgrade of magic.mime in the file program changed the mime type
output to application/zip instead of application/x-zip as it is a registered
type. Unfortunately we then just skipped zip file extraction becuase of this
change.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 99b524c9..0b31485d 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -616,7 +616,7 @@ extract_sources() { local file_type=$(file -bizL "$file") local cmd='' case "$file_type" in - *application/x-tar*|*application/x-zip*|*application/x-cpio*) + *application/x-tar*|*application/zip*|*application/x-zip*|*application/x-cpio*) cmd="bsdtar -x -f $file" ;; *application/x-gzip*) cmd="gunzip -d -f $file" ;; |