mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 08:29:27 +02:00
* Packages can only be broken when they are installed
git-svn-id: trunk@35541 -
This commit is contained in:
parent
0f9876effb
commit
910c05f942
@ -333,6 +333,12 @@ var
|
|||||||
begin
|
begin
|
||||||
result:=false;
|
result:=false;
|
||||||
|
|
||||||
|
if Assigned(APackage.Repository) and (APackage.Repository.RepositoryType <> fprtInstalled) then
|
||||||
|
begin
|
||||||
|
Result := False;
|
||||||
|
Exit;
|
||||||
|
end;
|
||||||
|
|
||||||
EnterFindBrokenPackages;
|
EnterFindBrokenPackages;
|
||||||
try
|
try
|
||||||
HashPtr := PtrInt(FBrokenPackagesDictionary.Find(APackage.Name));
|
HashPtr := PtrInt(FBrokenPackagesDictionary.Find(APackage.Name));
|
||||||
|
Loading…
Reference in New Issue
Block a user