summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-03-30 03:24:09 +0000
committerAaron Griffin <aaron@archlinux.org>2007-03-30 03:24:09 +0000
commit1e859c647f84f162aca282907953b5bf5948021f (patch)
tree056403b7a00960a2d4ca1c0eee9c453e8a975620 /scripts
parentab8c82536477c596b640faa8db0dc18114bb3814 (diff)
downloadpacman-1e859c647f84f162aca282907953b5bf5948021f.tar.xz
From: Andrew Fyfe <andrew@neptune-one.net>
Date: Thu, 29 Mar 2007 11:11:36 +0100 Subject: [PATCH 1/1] Fix bug where makepkg can't extract .tar.Z archives. For some reason 'tar -xf' doesn't work with .tar.Z, you need to use 'tar -xzf' to extract the archive. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/makepkg2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/makepkg b/scripts/makepkg
index 5afb285c..92d8ab26 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -809,6 +809,8 @@ else
file_type=$(file -biz "$file")
unset cmd
case "$file_type" in
+ *application/x-tar*application/x-compress*)
+ cmd="tar -xzf $file" ;;
*application/x-tar*)
cmd="tar -xf $file" ;;
*application/x-zip*)