summaryrefslogtreecommitdiff
path: root/src/backend/uninstallAll.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-30 14:22:46 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-10-30 14:22:46 +0000
commit331cd284de1de5f7192e1588b836f89337326784 (patch)
tree190b401a240c47705f0d0e5b2ebecaf435032f09 /src/backend/uninstallAll.py
parent712f936222be4c06ca00ef922a98cd94db71af11 (diff)
move checkEnvironment -> checkenv
Diffstat (limited to 'src/backend/uninstallAll.py')
-rw-r--r--src/backend/uninstallAll.py6
1 files changed, 3 insertions, 3 deletions
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()