Change git command

This commit is contained in:
Ruud
2012-01-08 13:13:16 +01:00
parent 187a874094
commit 7128429d11
14 changed files with 175 additions and 84 deletions
@@ -30,6 +30,11 @@ config = [{
'type': 'bool',
'description': 'Automaticly update when update is available',
},
{
'name': 'git_command',
'default': 'git',
'advanced': True
},
],
},
],
+1 -1
View File
@@ -24,7 +24,7 @@ class Updater(Plugin):
def __init__(self):
self.repo = LocalRepository(Env.get('app_dir'))
self.repo = LocalRepository(Env.get('app_dir'), command = self.conf('git_command', default = 'git'))
fireEvent('schedule.interval', 'updater.check', self.check, hours = 6)