diff options
-rw-r--r-- | gentoo/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoo/__init__.py b/gentoo/__init__.py index 603aa82..a82125e 100644 --- a/gentoo/__init__.py +++ b/gentoo/__init__.py @@ -32,7 +32,7 @@ class Portage: # Syncs the Portage tree and updates Portage if an update is available def sync(self): self.term.run_command("chroot "+self.root+" emerge --sync") - if not os.path_exists(self.root+"/usr/portage/metadata/timestamp"): + if not os.path.exists(self.root+"/usr/portage/metadata/timestamp"): self.term.run_command("chroot "+self.root+" emerge-webrsync") if self.term.get_child_exit_status() != 0: return False |