Fix eix execute

develop
parent 16a2e2c047
commit 02a9e6b071

@ -100,8 +100,7 @@ class cl_assemble(color_print):
# foraction - perform only for cl_action == value
DEFAULT_FORACTION = ('make','syncupdate','update')
ACTION_LIST = \
[
# emerge -e system first
[# emerge -e system first
{'command':'emerge -e system',
'message':_("First execute '%s'")%'emerge -e system',
'step':'firstsystem',
@ -920,7 +919,7 @@ class cl_assemble(color_print):
chrootCommand = process(*commandLine,stderr=ERRval,
stdout=IOval,envdict=envdict)
DEBUG(self._getCommand(chrootCommand.command))
if raiseError and chrootCommand.failed():
if chrootCommand.failed() and raiseError:
raise AssembleError(
_("An error occurred when executing the command")+
":\n %s"%self._getCommand(chrootCommand.command))
@ -1453,7 +1452,7 @@ class cl_assemble(color_print):
def checkDowngrades(self):
"""Run check downgrades"""
cmd = self.runChroot("FORMAT='{downgrade}%{FORMAT_ALL}{}' eix -I",
cmd = self.runChroot("/usr/bin/eix -T",
raiseError=False,
showProcess=True)
return True

Loading…
Cancel
Save