]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-download.cc
do not strip epochs from state version strings
[apt.git] / apt-private / private-download.cc
index 6f672635fa179f6479045171c0a77fbf1bd437d2..89d0a50c7c29be840191ab742b06e7732aed2c33 100644 (file)
@@ -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();