summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-11-09 20:41:41 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-11-09 20:41:41 +0000
commit9143739749bbabf33fcbf7d89667fc8ccf38d6a7 (patch)
treeaf14c1f2cccce049b7e6728258b048aa05b17baf
parent6b03b9c1bbc9ef3e3c31eab7c08871fbd22854de (diff)
use portage cache as download location for binaries
-rw-r--r--src/frontend/gui/sisyphus-gui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py
index dd9eb15..be1332a 100644
--- a/src/frontend/gui/sisyphus-gui.py
+++ b/src/frontend/gui/sisyphus-gui.py
@@ -369,6 +369,7 @@ class MainWorker(QtCore.QObject):
pkgDeps = getPkgDeps(pkgList)
pkgBins = []
+ os.chdir(portageCache)
for index, url in enumerate([binhostURL + package + '.tbz2' for package in pkgDeps]):
self.strReady.emit(">>> Fetching" + " " + url)
print(">>> Fetching" + " " + url)
@@ -428,6 +429,7 @@ class MainWorker(QtCore.QObject):
worldDeps = getWorldDeps()
worldBins = []
+ os.chdir(portageCache)
for index, url in enumerate([binhostURL + package + '.tbz2' for package in worldDeps]):
self.strReady.emit(">>> Fetching" + " " + url)
print(">>> Fetching" + " " + url)