softwareupdate: plugins may now specify that they have dependency links
Update plugin will then also process those during pip install. Was missing previously and caused Pushbullet Plugin to not properly update.
This commit is contained in:
parent
4badf72e18
commit
608be52b9a
1 changed files with 4 additions and 0 deletions
|
|
@ -25,6 +25,10 @@ def perform_update(target, check, target_version):
|
|||
|
||||
logger.debug("Target: %s, executing pip install %s" % (target, install_arg))
|
||||
pip_args = ["install", check["pip"].format(target_version=target_version, target=target_version)]
|
||||
|
||||
if "dependency_links" in check and check["dependency_links"]:
|
||||
pip_args += "--process-dependency-links"
|
||||
|
||||
_pip.main(pip_args)
|
||||
|
||||
if "force_reinstall" in check and check["force_reinstall"]:
|
||||
|
|
|
|||
Loading…
Reference in a new issue