* Packages can only be broken when they are installed

git-svn-id: trunk@35541 -
This commit is contained in:
joost 2017-03-07 22:29:53 +00:00
parent 0f9876effb
commit 910c05f942

View File

@ -333,6 +333,12 @@ var
begin
result:=false;
if Assigned(APackage.Repository) and (APackage.Repository.RepositoryType <> fprtInstalled) then
begin
Result := False;
Exit;
end;
EnterFindBrokenPackages;
try
HashPtr := PtrInt(FBrokenPackagesDictionary.Find(APackage.Name));