summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-05 15:59:15 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-05 15:59:15 +0000
commit0b4cdf8f6b57160fd77c3a45165fdb7fa371e31c (patch)
treedd39598e6d95f0047d48dc07390c85774b7b4d9c
parent499ca402763c702da1972a3b7b92117c9eab2da7 (diff)
remove double fetch
-rw-r--r--src/backend/upgrade.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/backend/upgrade.py b/src/backend/upgrade.py
index 08b7da9..00400ce 100644
--- a/src/backend/upgrade.py
+++ b/src/backend/upgrade.py
@@ -183,15 +183,6 @@ def xstart():
print("\n" + "These are the binary packages that will be merged, in order:" + "\n\n" + ", ".join(
areBinaries) + "\n\n" + "Total:" + " " + str(len(areBinaries)) + " " + "binary package(s)" + "\n\n")
sisyphus.download.xworldbinpkgonly()
- portageExec = subprocess.Popen(['emerge', '--quiet', '--verbose', '--update', '--deep', '--newuse', '--getbinpkg', '--getbinpkgonly', '--fetchonly', '--rebuilt-binaries',
- '--backtrack=100', '--with-bdeps=y', '--misspell-suggestion=n', '--fuzzy-search=n', '@world'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
- # kill portage if the program dies or it's terminated by the user
- atexit.register(sisyphus.killemerge.start, portageExec)
-
- for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"):
- print(portageOutput.rstrip())
-
- portageExec.wait()
portageExec = subprocess.Popen(['emerge', '--quiet', '--verbose', '--update', '--deep', '--newuse', '--usepkg', '--usepkgonly', '--rebuilt-binaries',
'--backtrack=100', '--with-bdeps=y', '--misspell-suggestion=n', '--fuzzy-search=n', '@world'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
# kill portage if the program dies or it's terminated by the user