diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-01-02 23:15:15 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-01-08 15:40:01 +0100 |
commit | 83758aed35c3eec66008b2ec01957c8e1cb129b5 (patch) | |
tree | ebe1b91164ae244be1cdde3979d9a559d1ddd4e8 /ftparchive/writer.cc | |
parent | e6849dd8461c4bc7d121820982bea4c1aece8868 (diff) |
include all compressed Packages/Sources files in Release file
Having a hardcoded list of compression types here doesn't really provide
us with anything beside added complexity each time someone adds a new
compression type. That we don't need to be that specific is evident by
Contents and Translation-* matchers which are a lot more generic and
didn't generate problems anyhow.
Diffstat (limited to 'ftparchive/writer.cc')
-rw-r--r-- | ftparchive/writer.cc | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/ftparchive/writer.cc b/ftparchive/writer.cc index c0223a74c..90935ff8b 100644 --- a/ftparchive/writer.cc +++ b/ftparchive/writer.cc @@ -971,16 +971,10 @@ ReleaseWriter::ReleaseWriter(FileFd * const GivenOutput, string const &/*DB*/) : if (_config->FindB("APT::FTPArchive::Release::Default-Patterns", true) == true) { AddPattern("Packages"); - AddPattern("Packages.gz"); - AddPattern("Packages.bz2"); - AddPattern("Packages.lzma"); - AddPattern("Packages.xz"); + AddPattern("Packages.*"); AddPattern("Translation-*"); AddPattern("Sources"); - AddPattern("Sources.gz"); - AddPattern("Sources.bz2"); - AddPattern("Sources.lzma"); - AddPattern("Sources.xz"); + AddPattern("Sources.*"); AddPattern("Release"); AddPattern("Contents-*"); AddPattern("Index"); |