diff options
author | Daniel Hartwig <mandyke@gmail.com> | 2012-06-10 00:18:19 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2012-06-10 00:18:19 +0200 |
commit | a98b6615254f8f7251d43c52de8f1f605c821ed7 (patch) | |
tree | ab0fe9241a31aa074f0ffb644258c1c3225fba86 /cmdline | |
parent | e5a91f7e42a72c97e12e66569f3b8fc777652c26 (diff) | |
download | apt-a98b6615254f8f7251d43c52de8f1f605c821ed7.tar.gz |
* cmdline/apt-get.cc:
- print URIs for all changelogs in case of --print-uris,
thanks to Daniel Hartwig for the patch! (Closes: #674897)
Diffstat (limited to 'cmdline')
-rw-r--r-- | cmdline/apt-get.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 6ef046089..0636489cb 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -3244,9 +3244,13 @@ bool DoChangelog(CommandLine &CmdL) pkgAcquire Fetcher; if (_config->FindB("APT::Get::Print-URIs", false) == true) + { + bool Success = true; for (APT::VersionList::const_iterator Ver = verset.begin(); Ver != verset.end(); ++Ver) - return DownloadChangelog(Cache, Fetcher, Ver, ""); + Success &= DownloadChangelog(Cache, Fetcher, Ver, ""); + return Success; + } AcqTextStatus Stat(ScreenWidth, _config->FindI("quiet",0)); Fetcher.Setup(&Stat); |