summaryrefslogtreecommitdiff
path: root/cmdline/apt-get.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2008-12-08 09:37:09 -0800
committerMichael Vogt <michael.vogt@ubuntu.com>2008-12-08 09:37:09 -0800
commit9772f307fdf1f4cc94690b4ba3705a8f891033fe (patch)
tree84dcf081d3048841b8e1375abe0a3daef5833be2 /cmdline/apt-get.cc
parent12ede3486283262ee8c50506cf96dd2b266d713c (diff)
* cmdline/apt-get.cc:
- fix "apt-get source pkg=ver" if binary name != source name (LP: #202219) * doc/makefile: - add examples/apt-https-method-example.conf
Diffstat (limited to 'cmdline/apt-get.cc')
-rw-r--r--cmdline/apt-get.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index bd95e917b..ea7d45952 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -1295,9 +1295,9 @@ pkgSrcRecords::Parser *FindSrc(const char *Name,pkgRecords &Recs,
{
string Ver = Parse->Version();
- // Skip name mismatches
- if (IsMatch == true && Parse->Package() != Src)
- continue;
+ // show name mismatches
+ if (IsMatch == true && Parse->Package() != Src)
+ ioprintf(c1out, _("No source package '%s' picking '%s' instead"), Parse->Package(), Src);
if (VerTag.empty() == false)
{