From 14e4366c781250092a5131b8fbbeda3aab67bd9d Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 5 Jan 2008 16:37:55 -0600 Subject: 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 --- scripts/makepkg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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" ;; -- cgit v1.2.3-70-g09d2