summaryrefslogtreecommitdiff
path: root/src/backend/installPkg.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-30 14:37:38 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-10-30 14:37:38 +0000
commit1bb1eb3216267a8b9b1b9c25e163f76ba8072799 (patch)
tree1f433f1c2dd749f9fe71a149d917a0e7ffed0428 /src/backend/installPkg.py
parent9bb89285b638c1b2fb86a8d3234a176b5688009a (diff)
move killPortage -> killemerge
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())