Browse Source

* Solved exception after a package has been installed

git-svn-id: trunk@34639 -
joost 8 years ago
parent
commit
6d7cfaf782
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fppkg/src/pkgcommands.pp

+ 1 - 1
packages/fppkg/src/pkgcommands.pp

@@ -413,7 +413,7 @@ begin
       InstallRepo := GFPpkg.RepositoryByName(GFPpkg.Options.CommandLineSection.InstallRepository);
       if Assigned(InstallRepo) then
         begin
-          P := InstallRepo.PackageByName(S);
+          P := InstallRepo.FindPackage(S);
           if not Assigned(P) then
             P := InstallRepo.AddPackage(S);
           if Assigned(P) then