mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-19 05:09:07 +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);
|
InstallRepo := GFPpkg.RepositoryByName(GFPpkg.Options.CommandLineSection.InstallRepository);
|
||||||
if Assigned(InstallRepo) then
|
if Assigned(InstallRepo) then
|
||||||
begin
|
begin
|
||||||
P := InstallRepo.PackageByName(S);
|
P := InstallRepo.FindPackage(S);
|
||||||
if not Assigned(P) then
|
if not Assigned(P) then
|
||||||
P := InstallRepo.AddPackage(S);
|
P := InstallRepo.AddPackage(S);
|
||||||
if Assigned(P) then
|
if Assigned(P) then
|
||||||
|
Loading…
Reference in New Issue
Block a user