Skip to content
Browse files

fixed: FindAddons() needs calling before calling GetDeps() - caused d…

…ependencies to not install on addon install
  • Loading branch information...
1 parent bfc6cd3 commit b5c934d467203a3e674c4b4f5bc6a781f84d6fa9 Jonathan Marshall committed Jan 30, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 xbmc/addons/AddonInstaller.cpp
View
1 xbmc/addons/AddonInstaller.cpp
@@ -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());

0 comments on commit b5c934d

Please sign in to comment.
Something went wrong with that request. Please try again.