| File data/plugins/packer/unpack.lua changed (mode: 100644) (index 550bba623..2b6d366c1) |
| ... |
... |
local function unpack_archive(archive, target, onexit) -- <<< |
| 119 |
119 |
|
|
| 120 |
120 |
local cmd |
local cmd |
| 121 |
121 |
if ext == 'tar' then |
if ext == 'tar' then |
| 122 |
|
if cmp == "tgz" or cmp == "gz" then |
|
|
122 |
|
if cmp == nil then |
|
123 |
|
cmd = string.format('tar --force-local -C %s --no-auto-compress -vxf %s', eoutdir, efpath) |
|
124 |
|
elseif cmp == "tgz" or cmp == "gz" then |
| 123 |
125 |
cmd = string.format('tar --force-local -C %s -vxzf %s', eoutdir, efpath) |
cmd = string.format('tar --force-local -C %s -vxzf %s', eoutdir, efpath) |
| 124 |
126 |
elseif cmp == "tbz2" or cmp == "bz2" then |
elseif cmp == "tbz2" or cmp == "bz2" then |
| 125 |
127 |
cmd = string.format('tar --force-local -C %s -vxjf %s', eoutdir, efpath) |
cmd = string.format('tar --force-local -C %s -vxjf %s', eoutdir, efpath) |