1 |
idl0r 10/04/02 14:57:43 |
2 |
|
3 |
Added: 0001-Fix-rsync-mirror-selectection.patch |
4 |
Log: |
5 |
Fix rsync mirror selection, bug 312753, thanks to Donald Wallace Rouse II <gentoo-user-0d329vjsd8@××××.org> |
6 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 app-portage/mirrorselect/files/0001-Fix-rsync-mirror-selectection.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/mirrorselect/files/0001-Fix-rsync-mirror-selectection.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/mirrorselect/files/0001-Fix-rsync-mirror-selectection.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: 0001-Fix-rsync-mirror-selectection.patch |
15 |
=================================================================== |
16 |
From daad8a5e5ea2dac503513f6ab114184dd427db01 Mon Sep 17 00:00:00 2001 |
17 |
From: Christian Ruppert <idl0r@g.o> |
18 |
Date: Fri, 2 Apr 2010 16:44:14 +0200 |
19 |
Subject: [PATCH] Fix rsync mirror selectection |
20 |
|
21 |
Append /gentoo-portage to the rsync mirror url if necessary, bug 312753, |
22 |
thanks to Donald Wallace Rouse II <gentoo-user-0d329vjsd8@××××.org> |
23 |
--- |
24 |
main.py | 2 ++ |
25 |
1 files changed, 2 insertions(+), 0 deletions(-) |
26 |
|
27 |
diff --git a/main.py b/main.py |
28 |
index 367e8d4..dd3386e 100755 |
29 |
--- a/main.py |
30 |
+++ b/main.py |
31 |
@@ -608,6 +608,8 @@ class Interactive(object): |
32 |
|
33 |
for (url, args) in sorted(hosts, key = lambda x: (x[1]['country'].lower(), x[1]['name'].lower()) ): |
34 |
marker = "" |
35 |
+ if options.rsync and not url.endswith("/gentoo-portage"): |
36 |
+ url+="/gentoo-portage" |
37 |
if (not options.ipv6 and not options.ipv4) and args['ipv6'] == 'y': |
38 |
marker = "* " |
39 |
if options.ipv6 and ( args['ipv6'] == 'n' ): continue |
40 |
-- |
41 |
1.7.0.4 |