diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2008-12-08 09:33:43 -0800 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2008-12-08 09:33:43 -0800 |
commit | 99921bf936f050c77f424f85a658fcdbef98326e (patch) | |
tree | c4f7546dd5d41c72e65209fb4f70abad8d4c9dce /cmdline/apt-get.cc | |
parent | e306ec4728557675680115af4470d16159f22ab1 (diff) |
- 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.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index eda37a31e..40ae02400 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) { |