summaryrefslogtreecommitdiffstats
path: root/scripts/makepkg
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/makepkg')
-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*)