Skip to content

Commit

Permalink
fixed: FindAddons() needs calling before calling GetDeps() - caused d…
Browse files Browse the repository at this point in the history
…ependencies to not install on addon install
  • Loading branch information
Jonathan Marshall committed Jan 30, 2011
1 parent bfc6cd3 commit b5c934d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xbmc/addons/AddonInstaller.cpp
Expand Up @@ -360,6 +360,7 @@ bool CAddonInstallJob::Install(const CStdString &installFrom)
}

// resolve dependencies
CAddonMgr::Get().FindAddons(); // needed as GetDeps() grabs directly from c-pluff via the addon manager
ADDONDEPS deps = addon->GetDeps();
CStdString referer;
referer.Format("Referer=%s-%s.zip",addon->ID().c_str(),addon->Version().str.c_str());
Expand Down

0 comments on commit b5c934d

Please sign in to comment.