summaryrefslogtreecommitdiff
path: root/app-portage/sisyphus/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-02-27 19:13:26 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-02-27 19:13:26 +0000
commitcfee6a895bc7ebce123e711b507b85b815ec10e9 (patch)
treee27cd99057d970f4a15960f2fed3789ef80f3ef7 /app-portage/sisyphus/files
parent998ac1c549dd4e1b80cfe962baf0e3259d1b324a (diff)
app-portage/sisyphus : revision bump
Diffstat (limited to 'app-portage/sisyphus/files')
-rw-r--r--app-portage/sisyphus/files/sisyphus-1.1801-remove-csv-hardcode.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/app-portage/sisyphus/files/sisyphus-1.1801-remove-csv-hardcode.patch b/app-portage/sisyphus/files/sisyphus-1.1801-remove-csv-hardcode.patch
index 2d0befa0..bcbf0d87 100644
--- a/app-portage/sisyphus/files/sisyphus-1.1801-remove-csv-hardcode.patch
+++ b/app-portage/sisyphus/files/sisyphus-1.1801-remove-csv-hardcode.patch
@@ -1,5 +1,5 @@
diff --git a/src/backend/libsisyphus.py b/src/backend/libsisyphus.py
-index defc5cf..6a89563 100755
+index defc5cf..5944ef4 100755
--- a/src/backend/libsisyphus.py
+++ b/src/backend/libsisyphus.py
@@ -10,15 +10,14 @@
@@ -26,7 +26,7 @@ index defc5cf..6a89563 100755
+ portage_call = subprocess.Popen(['emerge', '--info', '--verbose'], stdout=subprocess.PIPE)
+ for portage_output in io.TextIOWrapper(portage_call.stdout, encoding="utf-8"):
+ if "PORTAGE_BINHOST" in portage_output.rstrip():
-+ sisyphus_remote_csv_url = str(portage_output.rstrip().split("=")[1].strip('\"').strip('/packages') + '/csv' + '/remote_packages_pre.csv')
++ sisyphus_remote_csv_url = str(portage_output.rstrip().split("=")[1].strip('\"').replace('packages', 'csv') + 'remote_packages_pre.csv')
+
http = urllib3.PoolManager()
@@ -38,7 +38,7 @@ index defc5cf..6a89563 100755
+ portage_call = subprocess.Popen(['emerge', '--info', '--verbose'], stdout=subprocess.PIPE)
+ for portage_output in io.TextIOWrapper(portage_call.stdout, encoding="utf-8"):
+ if "PORTAGE_BINHOST" in portage_output.rstrip():
-+ sisyphus_removable_csv_url = str(portage_output.rstrip().split("=")[1].strip('\"').strip('/packages') + '/csv' + '/removable_packages_pre.csv')
++ sisyphus_removable_csv_url = str(portage_output.rstrip().split("=")[1].strip('\"').replace('packages', 'csv') + 'removable_packages_pre.csv')
+
http = urllib3.PoolManager()