diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-12 00:02:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-12 00:02:04 +0100 |
commit | 0f778807aedaef085627e243c50641a0fb534b3b (patch) | |
tree | 56bc85e4510131e8a811215b32640b6a11f2cbd0 /src/backend | |
parent | 5e2479c98551a88dc58a5fe2cbf4d025d92be26b (diff) |
adjust uninstall
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/uninstall.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/uninstall.py b/src/backend/uninstall.py index e07c908..70150f9 100644 --- a/src/backend/uninstall.py +++ b/src/backend/uninstall.py @@ -18,7 +18,7 @@ def sigint_handler(signal, frame): signal.signal(signal.SIGINT, sigint_handler) -def start(pkgname, gfx_ui=False, unmerge=False): +def start(pkgname, depclean=False, gfx_ui=False, unmerge=False): args = ['--quiet', '--depclean'] if not sisyphus.checkenv.root() and (unmerge or depclean): @@ -39,7 +39,7 @@ def start(pkgname, gfx_ui=False, unmerge=False): except subprocess.TimeoutExpired: p_exe.kill() sys.exit() - else: + elif depclean: if gfx_ui: p_exe = subprocess.Popen( ['emerge'] + args + pkgname, stdout=subprocess.PIPE, stderr=subprocess.PIPE) |