Skip to content

Commit

Permalink
[addons] don't set dependencies not met when the broken tag is set in…
Browse files Browse the repository at this point in the history
… the repo
  • Loading branch information
Jonathan Marshall committed Nov 29, 2013
1 parent 0c86692 commit b272f8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xbmc/addons/Repository.cpp
Expand Up @@ -236,7 +236,8 @@ bool CRepositoryUpdateJob::DoWork()
if (ShouldCancel(0,0))
break;

if (!CAddonInstaller::Get().CheckDependencies(addons[i]))
bool deps_met = CAddonInstaller::Get().CheckDependencies(addons[i]);
if (!deps_met && addons[i]->Props().broken.empty())
addons[i]->Props().broken = "DEPSNOTMET";

// invalidate the art associated with this item
Expand Down

0 comments on commit b272f8d

Please sign in to comment.