* Solved exception after a package has been installed

git-svn-id: trunk@34639 -
This commit is contained in:
joost 2016-10-07 14:45:26 +00:00
parent 16dfb839d8
commit 6d7cfaf782

View File

@ -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