2
0
Эх сурвалжийг харах

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

git-svn-id: trunk@10078 -
peter 17 жил өмнө
parent
commit
886c74ac75

+ 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;