Bug 885572 - Fix upgrade_mercurial() in bootstrapper; r=khuey

DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 3aa99eb3b3d2d273e4882779bb527ac96f757ef6
This commit is contained in:
Gregory Szorc 2013-06-24 10:23:14 -07:00
parent 59fb53dd3e
commit b6e4ae7e0e
6 changed files with 6 additions and 6 deletions

View File

@ -43,6 +43,6 @@ class CentOSBootstrapper(BaseBootstrapper):
self.run_as_root(['rpm', '-ivh', yasm])
def upgrade_mercurial(self):
def upgrade_mercurial(self, current):
self.yum_update('mercurial')

View File

@ -32,5 +32,5 @@ class FedoraBootstrapper(BaseBootstrapper):
'wireless-tools-devel',
'yasm')
def upgrade_mercurial(self):
def upgrade_mercurial(self, current):
self.yum_update('mercurial')

View File

@ -21,5 +21,5 @@ class GentooBootstrapper(BaseBootstrapper):
def _update_package_manager(self):
self.run_as_root(['emerge', '--sync'])
def upgrade_mercurial(self):
def upgrade_mercurial(self, current):
self.run_as_root(['emerge', '--update', 'mercurial'])

View File

@ -30,5 +30,5 @@ class MintBootstrapper(BaseBootstrapper):
'uuid',
'yasm')
def upgrade_mercurial(self):
def upgrade_mercurial(self, current):
self.apt_install('mercurial')

View File

@ -28,6 +28,6 @@ class OpenBSDBootstrapper(BaseBootstrapper):
def _update_package_manager(self):
self.run_as_root(['port', 'sync'])
def upgrade_mercurial(self):
def upgrade_mercurial(self, current):
self.run_as_root(['pkg_add', '-u', 'mercurial'])

View File

@ -33,7 +33,7 @@ class UbuntuBootstrapper(BaseBootstrapper):
def _update_package_manager(self):
self.run_as_root(['apt-get', 'update'])
def upgrade_mercurial(self):
def upgrade_mercurial(self, current):
self._ensure_package_manager_updated()
self.apt_install('mercurial')