index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-03-03 18:38:57 +0000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-03-03 18:38:57 +0000 |
commit | 02d46e33d1d8b69c67fccc90f8ad580481660a03 (patch) | |
tree | 34f9c13d7db99084d37b5f08ed55fc2289540e47 /scripts | |
parent | a0abb9399249c922bee8ea99c652f385d8bcdb7a (diff) |
-rwxr-xr-x | scripts/makepkg | 18 |
diff --git a/scripts/makepkg b/scripts/makepkg index 3f6fe1d1..68713f46 100755 --- a/scripts/makepkg +++ b/scripts/makepkg @@ -769,23 +769,17 @@ else file_type=$(file -biz "$file") unset cmd case "$file_type" in - # START REMOVE - # TODO remove this with release of file v4.20, temp bugfix - *application/empty*) - cmd="tar -xf $file" - warning "file had trouble detecting type, assuming tar" ;; - # END REMOVE *application/x-tar*) - cmd="tar -xf $file" ;; + cmd="tar -xf $file" ;; *application/x-zip*) - unziphack=1 - cmd="unzip -qqo $file" ;; + unziphack=1 + cmd="unzip -qqo $file" ;; *application/x-cpio*) - cmd="bsdtar -x -f $file" ;; + cmd="bsdtar -x -f $file" ;; *application/x-gzip*) - cmd="gunzip -f $file" ;; + cmd="gunzip -f $file" ;; *application/x-bzip*) - cmd="bunzip2 -f $file" ;; + cmd="bunzip2 -f $file" ;; esac if [ "$cmd" != "" ]; then msg2 "$cmd" |