diff options
author | jmarshallnz <jcmarsha@gmail.com> | 2014-08-31 20:44:38 +1200 |
---|---|---|
committer | jmarshallnz <jcmarsha@gmail.com> | 2014-08-31 20:44:38 +1200 |
commit | 7cb556aa05ddb3f99e7386aac0dc98a622391ae0 (patch) | |
tree | 98413ad70ce8bab426e63107bfeeea5f0fb97b2b | |
parent | fca4954304830c3bef166600a8fbb99c9b654eb2 (diff) | |
parent | eb04b26980e5d822ae1ba8ea2efdaf82548a1306 (diff) |
Merge pull request #5302 from ace20022/fix_autoupdate
[addons][Fix] Make the auto update of addons work again.
-rw-r--r-- | xbmc/addons/Repository.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/addons/Repository.cpp b/xbmc/addons/Repository.cpp index ac81f9ae6b..b42d881387 100644 --- a/xbmc/addons/Repository.cpp +++ b/xbmc/addons/Repository.cpp @@ -297,7 +297,7 @@ bool CRepositoryUpdateJob::DoWork() if (URIUtils::IsInternetStream(newAddon->Path())) referer = StringUtils::Format("Referer=%s-%s.zip",addon->ID().c_str(),addon->Version().asString().c_str()); - if (!newAddon->CanInstall(referer)) + if (newAddon->CanInstall(referer)) CAddonInstaller::Get().Install(addon->ID(), true, referer); } else |