summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 17:04:44 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 17:04:44 +0000
commitcc74210843bbaddc0407a579414d8a8caa2501e6 (patch)
treeae30f03088495c752bbe9eca07ca48c86cca30bb
parenta08796682e5a9834f1b216379ed0dd3d6fcb5edd (diff)
* Fix debSourcesIndex::Describe() to correctly say "Sou...
Author: mdz Date: 2004-01-04 07:41:30 GMT * Fix debSourcesIndex::Describe() to correctly say "Sources" rather than "Packages"
-rw-r--r--apt-pkg/deb/debindexfile.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/apt-pkg/deb/debindexfile.cc b/apt-pkg/deb/debindexfile.cc
index 38316d17e..e9c7b0638 100644
--- a/apt-pkg/deb/debindexfile.cc
+++ b/apt-pkg/deb/debindexfile.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: debindexfile.cc,v 1.5 2001/04/29 05:13:51 jgg Exp $
+// $Id: debindexfile.cc,v 1.6 2004/01/04 07:41:30 mdz Exp $
/* ######################################################################
Debian Specific sources.list types and the three sorts of Debian
@@ -78,9 +78,9 @@ string debSourcesIndex::Describe(bool Short) const
{
char S[300];
if (Short == true)
- snprintf(S,sizeof(S),"%s",Info("Packages").c_str());
+ snprintf(S,sizeof(S),"%s",Info("Sources").c_str());
else
- snprintf(S,sizeof(S),"%s (%s)",Info("Packages").c_str(),
+ snprintf(S,sizeof(S),"%s (%s)",Info("Sources").c_str(),
IndexFile("Sources").c_str());
return S;