diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2007-03-29 21:26:58 -0500 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2007-03-29 21:26:58 -0500 |
commit | 9a9f1e00da3150150e57fc949b5c45b93afeefe8 (patch) | |
tree | d8ad27b900a3bb0c5cffe0f723e1f2699e7ad8fd /scripts/makepkg | |
parent | d6d7435a6c687c8599b9b5ebe54cccd067795cf0 (diff) | |
download | pacman-9a9f1e00da3150150e57fc949b5c45b93afeefe8.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/makepkg')
-rwxr-xr-x | scripts/makepkg | 2 |
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*) |