summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 17:04:36 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 17:04:36 +0000
commit187492a61e141bea9d730dc00c878847b4be62ad (patch)
treea66c7cbb8b4ecdabcb05c553c2284e918fc53efc
parentaf6fa0b896ea3391cf8dd10b32cd49d0b5cb58b8 (diff)
downloadapt-187492a61e141bea9d730dc00c878847b4be62ad.tar.gz
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
-rw-r--r--ftparchive/writer.cc9
1 files changed, 8 insertions, 1 deletions
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];