diff options
author | Lucas C. Villa Real <lucasvr@gmail.com> | 2017-01-22 23:26:24 -0200 |
---|---|---|
committer | Lucas C. Villa Real <lucasvr@gmail.com> | 2017-01-22 23:26:24 -0200 |
commit | 9ce5c999d21cd9021f7b7686f7d721e4b3ad07fa (patch) | |
tree | aeb0e2ddd71fb13923d5ce58884bb5a47e692708 /Functions/RPM | |
parent | d958f49de43724274fe725e780ddfc089d01eb99 (diff) | |
download | ThirdPartyInstallers-9ce5c999d21cd9021f7b7686f7d721e4b3ad07fa.tar.xz |
Add support for RPM files with a CPIO payload compressed with LZMA.
Diffstat (limited to 'Functions/RPM')
-rw-r--r-- | Functions/RPM | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Functions/RPM b/Functions/RPM index 7b4d599..635f643 100644 --- a/Functions/RPM +++ b/Functions/RPM @@ -81,6 +81,11 @@ function thirdparty_uncompress() { Log_Normal "Decompressing $payload_compressor payload." xz -d "$cpiofile" cpiofile=$(basename "$rpmfile").cpio + elif [ "$payload_compressor" = "lzma" ] + then + Log_Normal "Decompressing $payload_compressor payload." + lzma -d "$cpiofile" + cpiofile=$(basename "$rpmfile").cpio fi Log_Normal "Extracting CPIO archive." |