summaryrefslogtreecommitdiff
path: root/src/frontend
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-08 00:15:56 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-08 00:15:56 +0100
commitaab2a6ca78f41a41673d03d22da2c562ee90901b (patch)
treec9f365d740815df15ba0d9f52bf1ba5ef2d29036 /src/frontend
parentad3f757e2e3a7e0ed041d3d8df51d3e165e44e47 (diff)
make uninstall function parameters more descriptive
Diffstat (limited to 'src/frontend')
-rwxr-xr-xsrc/frontend/cli/sisyphus-cli.py4
-rw-r--r--src/frontend/gui/sisyphus-gui.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py
index 634cb5f..e4dd877 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, force=False, gfx_ui=False, normal=True)
+ sisyphus.uninstall.start(pkgname, depclean=True, gfx_ui=False, unmerge=False)
else:
- sisyphus.uninstall.start(pkgname, force=True, gfx_ui=False, normal=False)
+ sisyphus.uninstall.start(pkgname, depclean=False, gfx_ui=False, unmerge=True)
@app.command("autoremove")
def autoremove():
diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py
index 8fa8804..72c6cf7 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.start(pkgname, force=False, gfx_ui=True, normal=False)
+ sisyphus.uninstall.start(pkgname, depclean=False, gfx_ui=True, unmerge=False)
self.finished.emit()
@QtCore.pyqtSlot()