diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2012-01-19 21:32:30 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2012-01-19 21:32:30 +0100 |
commit | a7025171ea8bb49975f98dd4c3c6c7d89335cd30 (patch) | |
tree | b593f0702659a3b3e0389f796beeb825e8da6b85 /apt-pkg/deb/dpkgpm.cc | |
parent | 7720666fba9cd7024009bed964ccfa3f2be97c59 (diff) | |
parent | 2a2a7ef4dfa9d8fb8118c2e318555438098cdf34 (diff) |
merged from lp:~donkult/apt/experimental/
Diffstat (limited to 'apt-pkg/deb/dpkgpm.cc')
-rw-r--r-- | apt-pkg/deb/dpkgpm.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc index 99c28d201..2b04f0e71 100644 --- a/apt-pkg/deb/dpkgpm.cc +++ b/apt-pkg/deb/dpkgpm.cc @@ -1093,9 +1093,9 @@ bool pkgDPkgPM::Go(int OutStatusFd) pkgCache::VerIterator PkgVer; std::string name = I->Pkg.Name(); if (Op == Item::Remove || Op == Item::Purge) - PkgVer = I->Pkg.CurrentVer(); + PkgVer = I->Pkg.CurrentVer(); else - PkgVer = Cache[I->Pkg].InstVerIter(Cache); + PkgVer = Cache[I->Pkg].InstVerIter(Cache); name.append(":").append(PkgVer.Arch()); char * const fullname = strdup(name.c_str()); Packages.push_back(fullname); |