]> git.saurik.com Git - apt.git/commitdiff
* cmdline/apt-get.cc:
authorMichael Vogt <michael.vogt@ubuntu.com>
Tue, 13 Mar 2007 11:00:21 +0000 (12:00 +0100)
committerMichael Vogt <michael.vogt@ubuntu.com>
Tue, 13 Mar 2007 11:00:21 +0000 (12:00 +0100)
  - fix show-versions output

cmdline/apt-get.cc

index 9b6e36e210144614576b678b08b7ffae05062b6e..6c1b915ab4c3223e5e973aa26472cdd153fb3495 100644 (file)
@@ -1419,7 +1419,7 @@ bool DoAutomaticRemove(CacheFile &Cache)
               std::cout << "We could delete %s" <<  Pkg.Name() << std::endl;
           
         autoremovelist += string(Pkg.Name()) + " ";
-        autoremoveversions += string(Cache[Pkg].CandVersion) + " ";
+        autoremoveversions += string(Cache[Pkg].CandVersion) + "\n";
         if (doAutoRemove)
         {
            if(Pkg.CurrentVer() != 0 &&