diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-07 20:44:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-07 20:44:09 +0100 |
commit | c1f682729399414e88cac4d5a740b05242657312 (patch) | |
tree | 0812b59b5a41c42e19fc45a1ae993e2b5f32eaff /src/frontend | |
parent | a5d9e07f55f7794ebcd51924485a6909d5ec5b88 (diff) |
rewrite uninstall
Diffstat (limited to 'src/frontend')
-rwxr-xr-x | src/frontend/cli/sisyphus-cli.py | 4 | ||||
-rw-r--r-- | src/frontend/gui/sisyphus-gui.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py index a761b70..6b3a351 100755 --- a/src/frontend/cli/sisyphus-cli.py +++ b/src/frontend/cli/sisyphus-cli.py @@ -161,9 +161,9 @@ def uninstall(pkgname: List[str], force: bool = typer.Option(False, "--force", " will succeed, but the system will be broken """ if not force: - sisyphus.uninstall.start(pkgname) + sisyphus.uninstall.start(pkgname, force=False, gfx_ui=False, normal=True) else: - sisyphus.uninstall.fstart(pkgname) + sisyphus.uninstall.start(pkgname, force=True, gfx_ui=False, normal=False) @app.command("autoremove") def autoremove(): diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py index 30bcdb4..8c55772 100644 --- a/src/frontend/gui/sisyphus-gui.py +++ b/src/frontend/gui/sisyphus-gui.py @@ -405,7 +405,7 @@ class MainWorker(QtCore.QObject): def startUninstall(self): self.started.emit() pkgname = Sisyphus.pkgname - sisyphus.uninstall.xstart(pkgname) + sisyphus.uninstall.start(pkgname, force=False, gfx_ui=True, normal=False) self.finished.emit() @QtCore.pyqtSlot() |