summaryrefslogtreecommitdiff
path: root/src/backend/installPkg.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-30 14:26:52 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-10-30 14:26:52 +0000
commit02b654dc089c570ce81ce5da0c2c48d5d21d3cb8 (patch)
tree2a32a8634b59efc8b9f28ec8d8732cdd6b3b3414 /src/backend/installPkg.py
parent331cd284de1de5f7192e1588b836f89337326784 (diff)
move getEnvironment -> getenv
Diffstat (limited to 'src/backend/installPkg.py')
-rw-r--r--src/backend/installPkg.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/installPkg.py b/src/backend/installPkg.py
index 55e9bb7..7c1f100 100644
--- a/src/backend/installPkg.py
+++ b/src/backend/installPkg.py
@@ -8,7 +8,7 @@ import subprocess
import sys
import wget
import sisyphus.checkenv
-import sisyphus.getEnvironment
+import sisyphus.getenv
import sisyphus.getFilesystem
import sisyphus.killPortage
import sisyphus.resolveDeps
@@ -19,7 +19,7 @@ def cliExec(pkgname):
if sisyphus.checkenv.root():
sisyphus.updateAll.cliExec()
- binhostURL = sisyphus.getEnvironment.binhostURL()
+ binhostURL = sisyphus.getenv.binhostURL()
areBinaries,areSources,needsConfig = sisyphus.resolveDeps.package(pkgname)
if needsConfig == 0:
@@ -59,7 +59,7 @@ def cliExec(pkgname):
sys.exit("\nYou need root permissions to do this, exiting!\n")
def guiExec(pkgname):
- binhostURL = sisyphus.getEnvironment.binhostURL()
+ binhostURL = sisyphus.getenv.binhostURL()
areBinaries,areSources,needsConfig = sisyphus.resolveDeps.package.__wrapped__(pkgname) #undecorate
os.chdir(sisyphus.getFilesystem.portageCacheDir)