|
|
|
@ -1606,7 +1606,7 @@ class Update(MethodsInterface):
|
|
|
|
|
self.endTask()
|
|
|
|
|
return True
|
|
|
|
|
|
|
|
|
|
def update_layman(self, chroot_path):
|
|
|
|
|
def update_layman(self):
|
|
|
|
|
"""
|
|
|
|
|
Обновить базу layman
|
|
|
|
|
:param builder_path:
|
|
|
|
@ -1616,6 +1616,6 @@ class Update(MethodsInterface):
|
|
|
|
|
cmd_path = self.get_prog_path(cmd)
|
|
|
|
|
if not cmd_path:
|
|
|
|
|
raise UpdateError(_("Failed to find the %s command") % cmd)
|
|
|
|
|
layman = CommandExecutor(cmd_path, ["-f"], logfile=logfile)
|
|
|
|
|
layman = emerge_parser.CommandExecutor(cmd_path, ["-f"])
|
|
|
|
|
layman.execute()
|
|
|
|
|
return layman.success()
|
|
|
|
|