summaryrefslogtreecommitdiff
path: root/cmdline/apt-get.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:51:30 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:51:30 +0000
commitcc718e9a50c9a0890319c08dddf5f5ce81d1c68b (patch)
tree8f4022ca24fa861f7a5efb640f979045db38e7d4 /cmdline/apt-get.cc
parent43d017d69796a5093cb12506ec59285a34915b7f (diff)
unmet
Author: jgg Date: 1998-11-14 07:20:29 GMT unmet
Diffstat (limited to 'cmdline/apt-get.cc')
-rw-r--r--cmdline/apt-get.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index c9c0a15f8..23a918f8d 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: apt-get.cc,v 1.12 1998/11/14 03:32:26 jgg Exp $
+// $Id: apt-get.cc,v 1.13 1998/11/14 07:20:30 jgg Exp $
/* ######################################################################
apt-get - Cover for dpkg
@@ -138,11 +138,8 @@ void ShowBroken(ostream &out,pkgDepCache &Cache)
for (int J = 0; J != Indent; J++)
out << ' ';
First = false;
-
- if (D->Type == pkgCache::Dep::Conflicts)
- out << " Conflicts:" << D.TargetPkg().Name();
- else
- out << " Depends:" << D.TargetPkg().Name();
+
+ cout << ' ' << D.DepType() << ": ";
// Show a quick summary of the version requirements
if (D.TargetVer() != 0)