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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/installPkg.py b/src/backend/installPkg.py
index fd6035a..55af933 100644
--- a/src/backend/installPkg.py
+++ b/src/backend/installPkg.py
@@ -10,7 +10,7 @@ import wget
import sisyphus.checkenv
import sisyphus.getenv
import sisyphus.getfs
-import sisyphus.killPortage
+import sisyphus.killemerge
import sisyphus.resolveDeps
import sisyphus.syncDatabase
import sisyphus.updateAll
@@ -80,7 +80,7 @@ def guiExec(pkgname):
portageExec = subprocess.Popen(['emerge', '--quiet', '--verbose', '--usepkg', '--usepkgonly', '--rebuilt-binaries', '--with-bdeps=y', '--misspell-suggestion=n', '--fuzzy-search=n'] + pkgname, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
# kill portage if the program dies or it's terminated by the user
- atexit.register(sisyphus.killPortage.cliExec, portageExec)
+ atexit.register(sisyphus.killemerge.cliExec, portageExec)
for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"):
print(portageOutput.rstrip())