Browse Source

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

git-svn-id: trunk@10078 -
peter 17 years ago
parent
commit
886c74ac75
1 changed files with 1 additions and 1 deletions
  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;