diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-02-02 22:44:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-02-02 22:44:34 +0000 |
commit | c72f5dac54d4b8382a4d3891af07509ebe629f63 (patch) | |
tree | 58259dee11751843171e4f4e5fe809f6a90e585e /src/backend/ebuildinstall.py | |
parent | e8e43274a6dda2257f3a43dc2a20572f7779cce5 (diff) |
minor changes
Diffstat (limited to 'src/backend/ebuildinstall.py')
-rw-r--r-- | src/backend/ebuildinstall.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/ebuildinstall.py b/src/backend/ebuildinstall.py index 02dd8a2..b570734 100644 --- a/src/backend/ebuildinstall.py +++ b/src/backend/ebuildinstall.py @@ -17,7 +17,7 @@ def start(pkgname): if sisyphus.check.root(): sisyphus.update.start() - binhostURL = sisyphus.binhost.getURL() + isBinhost = sisyphus.binhost.start() areBinaries,areSources,needsConfig = sisyphus.solvedeps.package(pkgname) if needsConfig == 0: @@ -28,7 +28,7 @@ def start(pkgname): if input("Would you like to proceed?" + " " + "[y/N]" + " ").lower().strip()[:1] == "y": for index, binary in enumerate([package + '.tbz2' for package in areBinaries], start=1): print(">>> Downloading binary ({}".format(index) + " " + "of" + " " + str(len(areBinaries)) + ")" + " " + binary) - wget.download(binhostURL + binary) + wget.download(isBinhost + binary) print("\n") subprocess.call(['qtbz2', '-x'] + binary.rstrip().split("/")[1].split()) @@ -67,7 +67,7 @@ def start(pkgname): if input("Would you like to proceed?" + " " + "[y/N]" + " ").lower().strip()[:1] == "y": for index, binary in enumerate([package + '.tbz2' for package in areBinaries], start=1): print(">>> Downloading binary ({}".format(index) + " " + "of" + " " + str(len(areBinaries)) + ")" + " " + binary) - wget.download(binhostURL + binary) + wget.download(isBinhost + binary) print("\n") subprocess.call(['qtbz2', '-x'] + binary.rstrip().split("/")[1].split()) |