diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2010-04-02 16:44:14 +0200 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2010-04-02 16:44:14 +0200 |
commit | daad8a5e5ea2dac503513f6ab114184dd427db01 (patch) | |
tree | 7442224014da581af818c5da1b09ac047282e055 | |
parent | Remove obsolete mirrorparser.py. (diff) | |
download | mirrorselect-daad8a5e5ea2dac503513f6ab114184dd427db01.tar.gz mirrorselect-daad8a5e5ea2dac503513f6ab114184dd427db01.tar.bz2 mirrorselect-daad8a5e5ea2dac503513f6ab114184dd427db01.zip |
Fix rsync mirror selectection
Append /gentoo-portage to the rsync mirror url if necessary, bug 312753,
thanks to Donald Wallace Rouse II <gentoo-user-0d329vjsd8@dwr2.org>
-rwxr-xr-x | main.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -608,6 +608,8 @@ class Interactive(object): for (url, args) in sorted(hosts, key = lambda x: (x[1]['country'].lower(), x[1]['name'].lower()) ): marker = "" + if options.rsync and not url.endswith("/gentoo-portage"): + url+="/gentoo-portage" if (not options.ipv6 and not options.ipv4) and args['ipv6'] == 'y': marker = "* " if options.ipv6 and ( args['ipv6'] == 'n' ): continue |