summaryrefslogtreecommitdiff
path: root/src/backend/installPkg.py
diff options
context:
space:
mode:
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)