Sfoglia il codice sorgente

* use FindPackage to not raise and error if package is not installed

git-svn-id: trunk@10078 -
peter 17 anni fa
parent
commit
886c74ac75
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      utils/fppkg/pkgrepos.pp

+ 1 - 1
utils/fppkg/pkgrepos.pp

@@ -203,7 +203,7 @@ begin
   for i:=1 to FPMKUnitDepCount do
     begin
       FPMKUnitDepAvailable[i]:=false;
-      P:=CurrentRepository.PackageByName(FPMKUnitDeps[i].package);
+      P:=CurrentRepository.FindPackage(FPMKUnitDeps[i].package);
       if P<>nil then
         begin
           ReqVer:=TFPVersion.Create;