diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-09 04:22:37 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-09 04:22:37 +0100 |
commit | cd8b40c653ff67a55582cc809a30404789b0ed4b (patch) | |
tree | 9141c9ea9465521adf39204021c01ea048f7fae6 /src/frontend/cli | |
parent | fa19c308af220472681849a86e883094e38ee4cc (diff) |
rewrite install; cleaner API : one entrypoint instead of three, handle keyboard interrupt gracefully
Diffstat (limited to 'src/frontend/cli')
-rwxr-xr-x | src/frontend/cli/sisyphus-cli.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py index e273419..76a8cb2 100755 --- a/src/frontend/cli/sisyphus-cli.py +++ b/src/frontend/cli/sisyphus-cli.py @@ -131,9 +131,9 @@ def install(pkgname: List[str], and packages will be installed straight away. """ if ebuild: - sisyphus.install.estart(pkgname, oneshot=oneshot) + sisyphus.install.start(pkgname, ebuild=True, gfx_ui=False, oneshot=oneshot) else: - sisyphus.install.start(pkgname, oneshot=oneshot) + sisyphus.install.start(pkgname, ebuild=False, gfx_ui=False, oneshot=oneshot) @app.command("uninstall") def uninstall(pkgname: List[str], force: bool = typer.Option(False, "--force", "-f")): |