Private GIT

Skip to content
Snippets Groups Projects
Commit 0907e5bd authored by miigotu's avatar miigotu
Browse files

Merge pull request #2486 from WebSpider/dev-submodules

Update submodules as well when we update SR
parents 2a00b53d 4b7ecfff
Branches
Tags
No related merge requests found
......@@ -574,6 +574,9 @@ class GitUpdateManager(UpdateManager):
else:
output, err, exit_status = self._run_git(self._git_path, 'checkout -f ' + self.branch) # @UnusedVariable
if exit_status == 0:
output, err, exit_status = self._run_git(self._git_path, 'submodule update --init --recursive --force' + self.branch)
if exit_status == 0:
self._find_installed_version()
sickbeard.GIT_NEWVER = True
......@@ -583,6 +586,10 @@ class GitUpdateManager(UpdateManager):
notifiers.notify_git_update(sickbeard.CUR_COMMIT_HASH if sickbeard.CUR_COMMIT_HASH else "")
return True
else:
return False
else:
return False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment