From 187492a61e141bea9d730dc00c878847b4be62ad Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 17:04:36 +0000 Subject: Make release behave as documented, handling Sources and... Author: mdz Date: 2003-12-26 23:09:30 GMT Make release behave as documented, handling Sources and Release and md5sum.txt as well as Packages --- ftparchive/writer.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ftparchive/writer.cc b/ftparchive/writer.cc index 3b1cb69f5..d7d843067 100644 --- a/ftparchive/writer.cc +++ b/ftparchive/writer.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: writer.cc,v 1.9 2003/12/26 20:50:01 mdz Exp $ +// $Id: writer.cc,v 1.10 2003/12/26 23:09:30 mdz Exp $ /* ###################################################################### Writer @@ -799,6 +799,13 @@ ReleaseWriter::ReleaseWriter(string DB) { AddPattern("Packages"); AddPattern("Packages.gz"); + AddPattern("Packages.bz2"); + AddPattern("Sources"); + AddPattern("Sources.gz"); + AddPattern("Sources.bz2"); + AddPattern("Release"); + AddPattern("md5sum.txt"); + Output = stdout; time_t now = time(NULL); char datestr[128]; -- cgit v1.2.3