Explorar o código

apt-cache: Change version pin output to use per-version pins

Julian Andres Klode %!s(int64=11) %!d(string=hai) anos
pai
achega
b44c21bd31
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cmdline/apt-cache.cc

+ 1 - 1
cmdline/apt-cache.cc

@@ -1728,7 +1728,7 @@ static bool Policy(CommandLine &CmdL)
 	    cout << " *** " << V.VerStr();
 	 else
 	    cout << "     " << V.VerStr();
-	 cout << " " << Plcy->GetPriority(Pkg) << endl;
+	 cout << " " << Plcy->GetPriority(V) << endl;
 	 for (pkgCache::VerFileIterator VF = V.FileList(); VF.end() == false; ++VF)
 	 {
 	    // Locate the associated index files so we can derive a description