diff options
Diffstat (limited to 'gentoo')
-rw-r--r-- | gentoo/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gentoo/__init__.py b/gentoo/__init__.py index e01844b..a0cbeec 100644 --- a/gentoo/__init__.py +++ b/gentoo/__init__.py @@ -33,7 +33,9 @@ class Portage: def sync(self): self.term.run_command("chroot "+self.root+" emerge --sync") if self.term.get_child_exit_status() != 0: - return False + self.term.run_command("chroot "+self.root+" emerge-webrsync") + if self.term.get_child_exit_status() != 0: + return False self.term.run_command("chroot "+self.root+" emerge --update portage") if self.term.get_child_exit_status() == 0: return True |