From 9a58956bf3491dd492e1d7cdac4da21f847fb8e9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 7 Apr 2023 21:29:53 +0100 Subject: rewrite update --- src/frontend/cli/sisyphus-cli.py | 2 +- src/frontend/gui/sisyphus-gui.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/frontend') diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py index 6b3a351..634cb5f 100755 --- a/src/frontend/cli/sisyphus-cli.py +++ b/src/frontend/cli/sisyphus-cli.py @@ -186,7 +186,7 @@ def autoclean(): def update(): """Update the Portage tree, the Redcore Overlay(s), Portage configs and Sisyphus's package database.""" if sisyphus.checkenv.root(): - sisyphus.update.start() + sisyphus.update.start(gfx_ui=False) else: sys.exit("\nYou need root permissions to do this, exiting!\n") diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py index 8c55772..3cee61c 100644 --- a/src/frontend/gui/sisyphus-gui.py +++ b/src/frontend/gui/sisyphus-gui.py @@ -391,7 +391,7 @@ class MainWorker(QtCore.QObject): def startUpdate(self): self.started.emit() sisyphus.setjobs.start() - sisyphus.update.xstart() + sisyphus.update.start(gfx_ui=True) self.finished.emit() @QtCore.pyqtSlot() -- cgit v1.2.3