summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-06-06 17:53:17 +0800
committerGitHub <[email protected]>2023-06-06 17:53:17 +0800
commit262df003ffe3edeb3fbd30aaa872cec3166c7f27 (patch)
treec24666b4761f3c2a299782ddb6a476ebe3c96d52
parent2b586c4b154149d80a54009ce3c8455b51e201de (diff)
parent9ceaac21c80633f55850861464715c509f24e315 (diff)
Merge pull request #3817 from 0x2Adr1/tar.Z
Add support for .tar.Z archives
-rw-r--r--xmake/modules/utils/archive/extract.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/utils/archive/extract.lua b/xmake/modules/utils/archive/extract.lua
index 88ae70707..620c84d69 100644
--- a/xmake/modules/utils/archive/extract.lua
+++ b/xmake/modules/utils/archive/extract.lua
@@ -412,6 +412,7 @@ function main(archivefile, outputdir, opt)
, [".tar.xz"] = {_extract_using_7z, _extract_using_xz}
, [".tar.bz2"] = {_extract_using_7z, _extract_using_bzip2}
, [".tar.lz"] = {_extract_using_7z}
+ , [".tar.Z"] = {_extract_using_7z}
}
else
extractors =
@@ -428,6 +429,7 @@ function main(archivefile, outputdir, opt)
, [".tar.xz"] = {_extract_using_tar, _extract_using_7z, _extract_using_xz}
, [".tar.bz2"] = {_extract_using_tar, _extract_using_7z, _extract_using_bzip2}
, [".tar.lz"] = {_extract_using_tar, _extract_using_7z}
+ , [".tar.Z"] = {_extract_using_tar, _extract_using_7z}
}
end