aboutsummaryrefslogtreecommitdiff
path: root/Functions
diff options
context:
space:
mode:
Diffstat (limited to 'Functions')
-rw-r--r--Functions/RPM5
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."