HaikuDepot: Disallow actions on system deps as well.

This commit is contained in:
Rene Gollent
2013-10-07 23:05:31 -04:00
parent 6ec9478bd2
commit 0eb4ee61ff
+1 -1
View File
@@ -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();