Commit 895c5729 authored by Ed Reel's avatar Ed Reel Committed by GitHub

Add txz extension tarball support (#3881)

parent c8c12431
......@@ -454,7 +454,7 @@ def unpack (meta)
puts "Unpacking archive using 'unzip', this may take a while..."
_verbopt = @opt_verbose ? '-v' : '-qq'
system "unzip", _verbopt, "-d", "#{extract_dir}", meta[:filename]
when /\.(tar(\.(gz|bz2|xz|lz))?|tgz|tbz)$/i
when /\.(tar(\.(gz|bz2|xz|lz))?|tgz|tbz|txz)$/i
puts "Unpacking archive using 'tar', this may take a while..."
_verbopt = @opt_verbose ? 'v' : ''
system "tar", "x#{_verbopt}f", meta[:filename], "-C", "#{extract_dir}"
......
# Defines common constants used in different parts of crew
CREW_VERSION = '1.3.1'
CREW_VERSION = '1.3.2'
ARCH = `uname -m`.strip
ARCH_LIB = if ARCH == 'x86_64' then 'lib64' else 'lib' end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment