]>
Commit | Line | Data |
---|---|---|
882632ce | 1 | #!/bin/sh |
605c5c3c | 2 | channels=" |
aec1d9a8 | 3 | components.ez.no |
a9af1509 | 4 | pear.docblox-project.org |
605c5c3c | 5 | pear.firephp.org |
2f9b87ec | 6 | pear.horde.org |
605c5c3c ER |
7 | pear.phing.info |
8 | pear.phpdb.org | |
605c5c3c | 9 | pear.phpunit.de |
4c5242d9 | 10 | pear.propelorm.org |
605c5c3c | 11 | pear.roundcube.net |
aec1d9a8 ER |
12 | pear.symfony-project.com |
13 | phpseclib.sourceforge.net | |
882632ce | 14 | " |
605c5c3c ER |
15 | for channel in $channels; do |
16 | url=http://$channel/channel.xml | |
882632ce ER |
17 | wget -q -O tmp.xml $url || continue |
18 | alias=$(sed -nre 's,.*<suggestedalias>(.+)</suggestedalias>.*$,\1,p' tmp.xml) | |
19 | mv -f tmp.xml channel-$alias.xml | |
20 | done | |
21 | ||
22 | rm -f tmp.xml |