mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 19:29:24 +02:00
* Solved exception after a package has been installed
git-svn-id: trunk@34639 -
This commit is contained in:
parent
16dfb839d8
commit
6d7cfaf782
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user