summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2009-04-14 14:17:40 +0200
committerMichael Vogt <mvo@debian.org>2009-04-14 14:17:40 +0200
commitf0bb64930676131f8df667e064ed8b1d1b14145b (patch)
treeb592f2cda66586d4401d568074cde6f7253cea79 /cmdline
parent09fab2442c2ab9a503841d3dcd56b3c0c3efb502 (diff)
build fixes, change version 0.7.21
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-get.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index ccf53ed25..028f371b5 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -1301,7 +1301,9 @@ pkgSrcRecords::Parser *FindSrc(const char *Name,pkgRecords &Recs,
while ((Parse = SrcRecs.Find(Src.c_str(), MatchSrcOnly)) != 0)
{
string Ver = Parse->Version();
-
+
+ // show name mismatches
+ if (IsMatch == true && Parse->Package() != Src)
ioprintf(c1out, _("No source package '%s' picking '%s' instead\n"), Parse->Package().c_str(), Src.c_str());
if (VerTag.empty() == false)