summaryrefslogtreecommitdiff
path: root/apt-pkg/iprogress.cc
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/iprogress.cc')
-rw-r--r--apt-pkg/iprogress.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/iprogress.cc b/apt-pkg/iprogress.cc
index bed991d68..318d626d4 100644
--- a/apt-pkg/iprogress.cc
+++ b/apt-pkg/iprogress.cc
@@ -101,7 +101,7 @@ bool PackageManagerProgressFd::StatusChanged(std::string PackageName,
// build the status str
std::ostringstream status;
- status << "pmstatus:" << PackageName
+ status << "pmstatus:" << StringSplit(PackageName, ":")[0]
<< ":" << (StepsDone/float(StepsTotal)*100.0)
<< ":" << pkg_action
<< std::endl;