mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 885572 - Fix upgrade_mercurial() in bootstrapper; r=khuey
DONTBUILD (NPOTB) --HG-- extra : rebase_source : 3aa99eb3b3d2d273e4882779bb527ac96f757ef6
This commit is contained in:
parent
59fb53dd3e
commit
b6e4ae7e0e
@ -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')
|
||||
|
||||
|
@ -32,5 +32,5 @@ class FedoraBootstrapper(BaseBootstrapper):
|
||||
'wireless-tools-devel',
|
||||
'yasm')
|
||||
|
||||
def upgrade_mercurial(self):
|
||||
def upgrade_mercurial(self, current):
|
||||
self.yum_update('mercurial')
|
||||
|
@ -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'])
|
||||
|
@ -30,5 +30,5 @@ class MintBootstrapper(BaseBootstrapper):
|
||||
'uuid',
|
||||
'yasm')
|
||||
|
||||
def upgrade_mercurial(self):
|
||||
def upgrade_mercurial(self, current):
|
||||
self.apt_install('mercurial')
|
||||
|
@ -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'])
|
||||
|
||||
|
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user