Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 9310 Details for
Bug 17398
mirrorselect -a does not fetch mirror list
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
use wget in mirrorselect
mirrorselect-wget.patch (text/plain), 607 bytes, created by
Andrew Resch
on 2003-03-12 15:52:11 UTC
(
hide
)
Description:
use wget in mirrorselect
Filename:
MIME Type:
Creator:
Andrew Resch
Created:
2003-03-12 15:52:11 UTC
Size:
607 bytes
patch
obsolete
>--- /usr/sbin/mirrorselect 2003-03-12 12:37:09.000000000 -0800 >+++ /usr/sbin/mirrorselect-wget 2003-03-12 12:45:31.000000000 -0800 >@@ -33,7 +33,7 @@ > if [ "${1}" = "-a" ] ; then > echo "Fetching server list from web" > # nastiness, but it should work for now >- MIRROR_LIST=$((echo -e "GET /main/en/mirrors.xml HTTP/0.9\r\n\r\n" 1>&3 & cat 0<&3) 3<> /dev/tcp/gentoo.org/80 | \ >+ MIRROR_LIST=$((wget -q -O- www.gentoo.org/main/en/mirrors.xml) | \ > (read i; while [ "$(echo $i | tr -d '\r')" != "" ]; do read i; done; cat) | \ > perl -nle'print $1 if /\s{5}<a href="((htt|ft)p[^"]+)/' | grep -v "MIRRORS") >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 17398
: 9310