]> git.pld-linux.org Git - packages/php-pear.git/blame - update-channels.sh
- add pear.docblox-project.org channel
[packages/php-pear.git] / update-channels.sh
CommitLineData
882632ce 1#!/bin/sh
605c5c3c 2channels="
aec1d9a8 3 components.ez.no
605c5c3c 4 pear.firephp.org
2f9b87ec 5 pear.horde.org
605c5c3c
ER
6 pear.phing.info
7 pear.phpdb.org
605c5c3c 8 pear.phpunit.de
4c5242d9 9 pear.propelorm.org
605c5c3c 10 pear.roundcube.net
aec1d9a8
ER
11 pear.symfony-project.com
12 phpseclib.sourceforge.net
882632ce 13"
605c5c3c
ER
14for channel in $channels; do
15 url=http://$channel/channel.xml
882632ce
ER
16 wget -q -O tmp.xml $url || continue
17 alias=$(sed -nre 's,.*<suggestedalias>(.+)</suggestedalias>.*$,\1,p' tmp.xml)
18 mv -f tmp.xml channel-$alias.xml
19done
20
21rm -f tmp.xml
This page took 0.048737 seconds and 4 git commands to generate.