summaryrefslogtreecommitdiff
path: root/ftparchive/multicompress.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-02-22 12:50:47 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-02-22 12:50:47 +0100
commitbc33e0f0b6b1fdb010dcd4a49a78b827530052aa (patch)
tree210d986981e3959b46ddb79744f3a68ea963b689 /ftparchive/multicompress.cc
parent0ff1a4556c0a0fb76ce48e88031eff2b4d613c5e (diff)
* ftparchive/multicompress.cc, apt-inst/deb/debfile.cc:
- support xz compressor to create xz-compressed Indexes and be able to open data.tar.xz files
Diffstat (limited to 'ftparchive/multicompress.cc')
-rw-r--r--ftparchive/multicompress.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ftparchive/multicompress.cc b/ftparchive/multicompress.cc
index bb4beedf9..c33414a11 100644
--- a/ftparchive/multicompress.cc
+++ b/ftparchive/multicompress.cc
@@ -35,6 +35,7 @@ const MultiCompress::CompType MultiCompress::Compressors[] =
{"gzip",".gz","gzip","-9n","-d",2},
{"bzip2",".bz2","bzip2","-9","-d",3},
{"lzma",".lzma","lzma","-9","-d",4},
+ {"xz",".xz","xz","-6","-d",5},
{}};
// MultiCompress::MultiCompress - Constructor /*{{{*/