diff options
author | Jindrich Novy <jnovy@redhat.com> | 2008-04-22 12:37:18 +0200 |
---|---|---|
committer | Jindrich Novy <jnovy@redhat.com> | 2008-04-22 12:37:18 +0200 |
commit | 3626f25462e1e63c226134dec254a19799dfced7 (patch) | |
tree | c442a5459b283f5bf02c591cc0302831c6902147 /rpm2cpio.c | |
parent | 3d8e0ef13a389c263e3867c20ce32ae088332c7b (diff) | |
download | librpm-tizen-3626f25462e1e63c226134dec254a19799dfced7.tar.gz librpm-tizen-3626f25462e1e63c226134dec254a19799dfced7.tar.bz2 librpm-tizen-3626f25462e1e63c226134dec254a19799dfced7.zip |
Handle lzma payload
Diffstat (limited to 'rpm2cpio.c')
-rw-r--r-- | rpm2cpio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rpm2cpio.c b/rpm2cpio.c index 164a61f64..e5e29331b 100644 --- a/rpm2cpio.c +++ b/rpm2cpio.c @@ -75,6 +75,8 @@ int main(int argc, char *argv[]) rpmio_flags = "r.gzdio"; if (!strcmp(payload_compressor, "bzip2")) rpmio_flags = "r.bzdio"; + if (!strcmp(payload_compressor, "lzma")) + rpmio_flags = "r.lzdio"; } gzdi = Fdopen(fdi, rpmio_flags); /* XXX gzdi == fdi */ |