summaryrefslogtreecommitdiff
path: root/apt-private/private-install.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2013-09-26 14:56:45 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2013-09-26 14:56:45 +0200
commitac69a4d8aa837d1ab31447bbaa9a7ea95917bac9 (patch)
tree1634f9218a7a42c0b4c377591e67f368681abfa8 /apt-private/private-install.cc
parent0e90e042f36560b93e72b16ca08b4b06350191ae (diff)
print-uris prints regardless of quiet-level again
While the InstallPackages code was moved from apt-get into the private library the output was moved from (std::)cout to c1out which isn't shown in quiet level 2 (and above), so we flip back to std::cout to ensure that it is always printed as you are not going to use --print-uris if you don't want to see the uris… Closes: 722207
Diffstat (limited to 'apt-private/private-install.cc')
-rw-r--r--apt-private/private-install.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-private/private-install.cc b/apt-private/private-install.cc
index 9808c3dde..c07d060f3 100644
--- a/apt-private/private-install.cc
+++ b/apt-private/private-install.cc
@@ -299,7 +299,7 @@ bool InstallPackages(CacheFile &Cache,bool ShwKept,bool Ask, bool Safety)
{
pkgAcquire::UriIterator I = Fetcher.UriBegin();
for (; I != Fetcher.UriEnd(); ++I)
- c1out << '\'' << I->URI << "' " << flNotDir(I->Owner->DestFile) << ' ' <<
+ std::cout << '\'' << I->URI << "' " << flNotDir(I->Owner->DestFile) << ' ' <<
I->Owner->FileSize << ' ' << I->Owner->HashSum() << std::endl;
return true;
}