summaryrefslogtreecommitdiff
path: root/apt-private
diff options
context:
space:
mode:
Diffstat (limited to 'apt-private')
-rw-r--r--apt-private/private-download.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-private/private-download.cc b/apt-private/private-download.cc
index 6f672635f..89d0a50c7 100644
--- a/apt-private/private-download.cc
+++ b/apt-private/private-download.cc
@@ -246,6 +246,8 @@ bool DoChangelog(CommandLine &CmdL)
bool const downOnly = _config->FindB("APT::Get::Download-Only", false);
bool const printOnly = _config->FindB("APT::Get::Print-URIs", false);
+ if (printOnly)
+ _config->CndSet("Acquire::Changelogs::AlwaysOnline", true);
aptAcquireWithTextStatus Fetcher;
for (APT::VersionList::const_iterator Ver = verset.begin();