summaryrefslogtreecommitdiff
path: root/ftparchive/writer.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-02-22 15:05:01 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-02-22 15:05:01 +0100
commitb7080ced608f012aee2566afc724c3727e75fc1b (patch)
tree6915540ec50b855f471ad56d8571f25c5a5fddb2 /ftparchive/writer.cc
parent3c54407f8783d5e27363eabf41dbc3d031526ffe (diff)
parentcd5b597cc855a535b35e88324191931c54c6fba0 (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 * ftparchive/writer.cc: - include xz-compressed Packages and Sources files in Release file
Diffstat (limited to 'ftparchive/writer.cc')
-rw-r--r--ftparchive/writer.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ftparchive/writer.cc b/ftparchive/writer.cc
index d3a19ca28..9462ebe27 100644
--- a/ftparchive/writer.cc
+++ b/ftparchive/writer.cc
@@ -930,10 +930,12 @@ ReleaseWriter::ReleaseWriter(string const &DB)
AddPattern("Packages.gz");
AddPattern("Packages.bz2");
AddPattern("Packages.lzma");
+ AddPattern("Packages.xz");
AddPattern("Sources");
AddPattern("Sources.gz");
AddPattern("Sources.bz2");
AddPattern("Sources.lzma");
+ AddPattern("Sources.xz");
AddPattern("Release");
AddPattern("Index");
AddPattern("md5sum.txt");