From 331cd284de1de5f7192e1588b836f89337326784 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 30 Oct 2022 14:22:46 +0000 Subject: move checkEnvironment -> checkenv --- src/backend/uninstallAll.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/uninstallAll.py') diff --git a/src/backend/uninstallAll.py b/src/backend/uninstallAll.py index 4284867..e5c336d 100644 --- a/src/backend/uninstallAll.py +++ b/src/backend/uninstallAll.py @@ -4,12 +4,12 @@ import atexit import io import subprocess import sys -import sisyphus.checkEnvironment +import sisyphus.checkenv import sisyphus.killPortage import sisyphus.syncDatabase def cliExec(pkgname): - if sisyphus.checkEnvironment.root(): + if sisyphus.checkenv.root(): portageExec = subprocess.Popen(['emerge', '--quiet', '--depclean', '--ask'] + list(pkgname)) portageExec.wait() sisyphus.syncDatabase.localTable() @@ -17,7 +17,7 @@ def cliExec(pkgname): sys.exit("\nYou need root permissions to do this, exiting!\n") def cliExecForce(pkgname): - if sisyphus.checkEnvironment.root(): + if sisyphus.checkenv.root(): portageExec = subprocess.Popen(['emerge', '--quiet', '--unmerge', '--ask'] + list(pkgname)) portageExec.wait() sisyphus.syncDatabase.localTable() -- cgit v1.2.3