From 0b4cdf8f6b57160fd77c3a45165fdb7fa371e31c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 5 Mar 2023 15:59:15 +0000 Subject: remove double fetch --- src/backend/upgrade.py | 9 --------- 1 file changed, 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 -- cgit v1.2.3