HaikuDepot: Disallow actions on system deps as well.
This commit is contained in:
@@ -228,7 +228,7 @@ PackageActionList
|
|||||||
PackageManager::GetPackageActions(PackageInfoRef package, Model* model)
|
PackageManager::GetPackageActions(PackageInfoRef package, Model* model)
|
||||||
{
|
{
|
||||||
PackageActionList actionList;
|
PackageActionList actionList;
|
||||||
if (package->IsSystemPackage())
|
if (package->IsSystemPackage() || package->IsSystemDependency())
|
||||||
return actionList;
|
return actionList;
|
||||||
|
|
||||||
int32 state = package->State();
|
int32 state = package->State();
|
||||||
|
|||||||
Reference in New Issue
Block a user